This commit is contained in:
dborth 2009-07-23 07:47:49 +00:00
parent 9223d63ab5
commit 4b8f668d9b

View File

@ -205,8 +205,9 @@ 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);
ResumeGui();
if(btn2Label) promptWindow.MoveSelectionHor(1); // change selection to btn2
while(choice == -1)
{