This commit is contained in:
dborth 2009-07-27 03:51:02 +00:00
parent 04e0cabb22
commit 46b39c5e3f

View File

@ -208,8 +208,11 @@ WindowPrompt(const char *title, const char *msg, const char *btn1Label, const ch
mainWindow->SetState(STATE_DISABLED);
mainWindow->Append(&promptWindow);
mainWindow->ChangeFocus(&promptWindow);
btn1.ResetState();
btn2.SetState(STATE_SELECTED);
if(btn2Label)
{
btn1.ResetState();
btn2.SetState(STATE_SELECTED);
}
ResumeGui();
while(choice == -1)