change default prompt window selection to "Cancel" button

This commit is contained in:
dborth 2009-07-22 04:41:46 +00:00
parent 23feaf7f4f
commit db61d23ca4

View File

@ -206,6 +206,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)
{