Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29872/src/gui

Modified Files:
        wxMainFrame.cpp 
Log Message:
added debug menu command to show the licence dialog

Index: wxMainFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMainFrame.cpp,v
retrieving revision 1.197
retrieving revision 1.198
diff -b -u -2 -r1.197 -r1.198
--- wxMainFrame.cpp     2 Jul 2006 12:23:13 -0000       1.197
+++ wxMainFrame.cpp     6 Aug 2006 19:24:27 -0000       1.198
@@ -68,4 +68,5 @@
 {
    WXMENU_DEBUG_WIZARD = WXMENU_DEBUG_BEGIN + 1,
+   WXMENU_DEBUG_SHOW_LICENCE,
    WXMENU_DEBUG_TOGGLE_LOG,
    WXMENU_DEBUG_CRASH
@@ -635,4 +636,5 @@
    wxMenu *menuDebug = new wxMenu;
    menuDebug->Append(WXMENU_DEBUG_WIZARD, _T("Run install &wizard..."));
+   menuDebug->Append(WXMENU_DEBUG_SHOW_LICENCE, _T("Show &licence dialog..."));
    menuDebug->AppendCheckItem(WXMENU_DEBUG_TOGGLE_LOG,
                               _T("Toggle &debug logging\tCtrl-Alt-D"));
@@ -1063,4 +1065,8 @@
             break;
 
+         case WXMENU_DEBUG_SHOW_LICENCE:
+            ShowLicenseDialog(this);
+            break;
+
          case WXMENU_DEBUG_TOGGLE_LOG:
             extern bool g_debugMailForceOn;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to