Revision: 7466
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7466&view=rev
Author:   vadz
Date:     2008-05-04 06:57:49 -0700 (Sun, 04 May 2008)

Log Message:
-----------
fix handling of WXMENU_VIEW_{TOOL,STATUS}BAR and FULLSCREEN commands

Modified Paths:
--------------
    trunk/M/src/gui/wxMainFrame.cpp

Modified: trunk/M/src/gui/wxMainFrame.cpp
===================================================================
--- trunk/M/src/gui/wxMainFrame.cpp     2008-05-04 02:29:34 UTC (rev 7465)
+++ trunk/M/src/gui/wxMainFrame.cpp     2008-05-04 13:57:49 UTC (rev 7466)
@@ -1069,7 +1069,11 @@
               id == WXMENU_EDIT_FIND ||
               id == WXMENU_EDIT_FINDAGAIN ||
               id == WXMENU_EDIT_SELECT_ALL ||
-              WXMENU_CONTAINS(VIEW, id) ||
+              // same is true for the view menu
+              (WXMENU_CONTAINS(VIEW, id) &&
+               id != WXMENU_VIEW_TOOLBAR &&
+               id != WXMENU_VIEW_STATUSBAR &&
+               id != WXMENU_VIEW_FULLSCREEN) ||
               WXMENU_CONTAINS(VIEW_FILTERS, id) ||
               WXMENU_CONTAINS(VIEW_VIEWERS, id) ) )
    {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to