]> git.saurik.com Git - wxWidgets.git/commitdiff
skip event after loggig
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Nov 2003 13:49:17 +0000 (13:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Nov 2003 13:49:17 +0000 (13:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp

index 8e23b49843a4ab85652f468bad91511727f6c66c..7ca53327c4a910519f00d6a614b5644b7b98121d 100644 (file)
@@ -107,9 +107,9 @@ protected:
 #endif
 
     void OnMenuOpen(wxMenuEvent& event)
-        { LogMenuOpenOrClose(event, _T("opened")); }
+        { LogMenuOpenOrClose(event, _T("opened")); event.Skip(); }
     void OnMenuClose(wxMenuEvent& event)
-        { LogMenuOpenOrClose(event, _T("closed")); }
+        { LogMenuOpenOrClose(event, _T("closed")); event.Skip(); }
 
     void OnUpdateCheckMenuItemUI(wxUpdateUIEvent& event);