change default prompt window selection to "Cancel" button

This commit is contained in:
dborth 2009-07-22 04:41:20 +00:00
parent 150d9f82d2
commit 7e1a75030d

View File

@ -192,6 +192,7 @@ WindowPrompt(const char *title, const char *msg, const char *btn1Label, const ch
mainWindow->Append(&promptWindow);
mainWindow->ChangeFocus(&promptWindow);
ResumeGui();
if(btn2Label) promptWindow.MoveSelectionHor(1); // change selection to btn2
while(choice == -1)
{