Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv1393/src/gui

Modified Files:
        wxMainFrame.cpp 
Log Message:
run install wizard in test mode when invoked from debug menu

Index: wxMainFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMainFrame.cpp,v
retrieving revision 1.165
retrieving revision 1.166
diff -b -u -2 -r1.165 -r1.166
--- wxMainFrame.cpp     3 Apr 2003 00:38:48 -0000       1.165
+++ wxMainFrame.cpp     21 Jul 2003 00:21:53 -0000      1.166
@@ -1010,10 +1010,12 @@
       {
          case WXMENU_DEBUG_WIZARD:
-            extern bool RunInstallWizard();
+            extern bool RunInstallWizard(bool justTest);
 
-            wxLogStatus("Running installation wizard...");
+            wxLogStatus(_T("Running installation wizard..."));
 
-            wxLogMessage("Wizard returned %s",
-                          RunInstallWizard() ? "true" : "false");
+            if ( !RunInstallWizard(true) )
+            {
+               wxLogWarning(_T("Wizard failed!"));
+            }
             break;
 



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to