mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-29 05:54:17 +01:00
This commit is contained in:
parent
cfa121ef9e
commit
3e79990a07
@ -191,8 +191,11 @@ WindowPrompt(const char *title, const char *msg, const char *btn1Label, const ch
|
||||
mainWindow->SetState(STATE_DISABLED);
|
||||
mainWindow->Append(&promptWindow);
|
||||
mainWindow->ChangeFocus(&promptWindow);
|
||||
if(btn2Label)
|
||||
{
|
||||
btn1.ResetState();
|
||||
btn2.SetState(STATE_SELECTED);
|
||||
}
|
||||
ResumeGui();
|
||||
|
||||
while(choice == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user