X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d3fe8f83ebc446c3aae570b6ed742ad7ac193d0..dcb16c298bbcc26eb82780b888717d647a5dd404:/include/wx/msw/mdi.h diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index afef0664a4..caf235fd56 100644 --- a/include/wx/msw/mdi.h +++ b/include/wx/msw/mdi.h @@ -110,6 +110,9 @@ public: #endif // wxUSE_MENUS protected: + // override to pass menu/toolbar events to the active child first + virtual bool TryBefore(wxEvent& event); + #if wxUSE_MENUS_NATIVE virtual void InternalSetMenuBar(); #endif // wxUSE_MENUS_NATIVE