mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-01 08:25:12 +01:00
change default prompt window selection to "Cancel" button
This commit is contained in:
parent
150d9f82d2
commit
7e1a75030d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user