X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af8964c4c3770b2d54ee54a9f8275113e944a3d9..f925f24de8a4e6aa116efed61ab77ec08b686c67:/include/wx/msw/frame.h diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 9b76f8b8c0..22509da920 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -50,7 +50,6 @@ public: virtual void Iconize(bool iconize = TRUE); virtual bool IsIconized() const; virtual void Restore(); - virtual void SetMenuBar(wxMenuBar *menubar); virtual void SetIcon(const wxIcon& icon); virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); virtual bool IsFullScreen() const { return m_fsIsShowing; }; @@ -134,10 +133,10 @@ protected: virtual void DoSetClientSize(int width, int height); - // helper - void DetachMenuBar(); - #if wxUSE_MENUS_NATIVE + // perform MSW-specific action when menubar is changed + virtual void AttachMenuBar(wxMenuBar *menubar); + // a plug in for MDI frame classes which need to do something special when // the menubar is set virtual void InternalSetMenuBar();