From deadb443c6ac78f471c9c4e4ce7c21401d8ccb97 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 30 Nov 2003 13:49:17 +0000 Subject: [PATCH] skip event after loggig git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/menu/menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 8e23b49843..7ca53327c4 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -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); -- 2.45.2