mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 11:39:21 +01:00
change default prompt window selection to "Cancel" button
This commit is contained in:
parent
69270c14ab
commit
75e5e28532
@ -209,6 +209,7 @@ WindowPrompt(const char *title, const char *msg, const char *btn1Label, const ch
|
|||||||
mainWindow->Append(&promptWindow);
|
mainWindow->Append(&promptWindow);
|
||||||
mainWindow->ChangeFocus(&promptWindow);
|
mainWindow->ChangeFocus(&promptWindow);
|
||||||
ResumeGui();
|
ResumeGui();
|
||||||
|
if(btn2Label) promptWindow.MoveSelectionHor(1); // change selection to btn2
|
||||||
|
|
||||||
while(choice == -1)
|
while(choice == -1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user