This commit is contained in:
dborth 2009-07-23 07:48:00 +00:00
parent 106224b946
commit cfa121ef9e

View File

@ -191,8 +191,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)
{