From db61d23ca441204efef939229d631bb3cb10488e Mon Sep 17 00:00:00 2001 From: dborth Date: Wed, 22 Jul 2009 04:41:46 +0000 Subject: [PATCH] change default prompt window selection to "Cancel" button --- source/ngc/menu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/ngc/menu.cpp b/source/ngc/menu.cpp index 3363b7e..f85c63d 100644 --- a/source/ngc/menu.cpp +++ b/source/ngc/menu.cpp @@ -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) {