X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd60b9ec1e436bfa13eb94ffb69f921aef534eb0..bf9e3e736771b247eb38ada221266733b6a601c7:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 8181a46864..845c67a0b4 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -432,14 +432,12 @@ bool wxMenu::ProcessCommand(wxCommandEvent & event) { bool processed = FALSE; -#if WXWIN_COMPATIBILITY // Try a callback if (m_callback) { (void)(*(m_callback))(*this, event); processed = TRUE; } -#endif WXWIN_COMPATIBILITY // Try the menu's event handler if ( !processed && GetEventHandler())