X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80dcb89812d84f41567a69ff83769b26ab519468..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/msw/mdi.h?ds=sidebyside 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