Revision: 7481
http://mahogany.svn.sourceforge.net/mahogany/?rev=7481&view=rev
Author: vadz
Date: 2008-05-13 17:14:27 -0700 (Tue, 13 May 2008)
Log Message:
-----------
fix handling of view menu commands processed by wxMainFrame broken by r7475
Modified Paths:
--------------
trunk/M/src/gui/wxMainFrame.cpp
Modified: trunk/M/src/gui/wxMainFrame.cpp
===================================================================
--- trunk/M/src/gui/wxMainFrame.cpp 2008-05-13 20:44:27 UTC (rev 7480)
+++ trunk/M/src/gui/wxMainFrame.cpp 2008-05-14 00:14:27 UTC (rev 7481)
@@ -1069,11 +1069,11 @@
id == WXMENU_EDIT_FIND ||
id == WXMENU_EDIT_FINDAGAIN ||
id == WXMENU_EDIT_SELECT_ALL ||
- // same is true for the view menu
- (WXMENU_CONTAINS(VIEW, id) &&
- id != WXMENU_VIEW_TOOLBAR &&
- id != WXMENU_VIEW_STATUSBAR &&
- id != WXMENU_VIEW_FULLSCREEN) ||
+ // view menu is handled by the base class but we extend it with
+ // extra commands in message view menu which we must handle
+ // ourselves
+ (WXMENU_CONTAINS(MSGVIEW, id) &&
+ !WXMENU_CONTAINS(VIEW, id)) ||
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates