X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/210a651b4f4ef5ff4e220a100a10bb4f29e08cfd..2b260bc3e2f269de090eefdaefc1450207a7734e:/include/wx/os2/frame.h diff --git a/include/wx/os2/frame.h b/include/wx/os2/frame.h index 38d5f57600..ed2be61380 100644 --- a/include/wx/os2/frame.h +++ b/include/wx/os2/frame.h @@ -178,10 +178,13 @@ protected: // helper void DetachMenuBar(void); +#if wxUSE_MENUS_NATIVE + // perform MSW-specific action when menubar is changed + virtual void AttachMenuBar(wxMenuBar* pMenubar); // a plug in for MDI frame classes which need to do something special when // the menubar is set virtual void InternalSetMenuBar(void); - +#endif // propagate our state change to all child frames void IconizeChildFrames(bool bIconize); @@ -242,7 +245,6 @@ private: SWP m_vSwpToolBar; DECLARE_EVENT_TABLE() - DECLARE_DYNAMIC_CLASS(wxFrameOS2) }; #endif