From 75e5e2853297523da6ed229f7da4f7f5fe11e853 Mon Sep 17 00:00:00 2001 From: dborth Date: Wed, 22 Jul 2009 04:41:12 +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 8871d45..6ed649c 100644 --- a/source/ngc/menu.cpp +++ b/source/ngc/menu.cpp @@ -209,6 +209,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) {