X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..dad5f99acb6b3400ff73562c03db2f3f21b658cd:/include/wx/gtk/frame.h diff --git a/include/wx/gtk/frame.h b/include/wx/gtk/frame.h index 23dde5eab4..8d37644740 100644 --- a/include/wx/gtk/frame.h +++ b/include/wx/gtk/frame.h @@ -70,10 +70,6 @@ public: virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); virtual bool IsFullScreen() const { return m_fsIsShowing; }; -#if wxUSE_MENUS - virtual void SetMenuBar( wxMenuBar *menuBar ); -#endif // wxUSE_MENUS - #if wxUSE_STATUSBAR virtual void PositionStatusBar(); @@ -134,11 +130,13 @@ protected: virtual void DoSetClientSize(int width, int height); virtual void DoGetClientSize( int *width, int *height ) const; - // is the frame currently iconized? - bool m_isIconized; +#if wxUSE_MENUS_NATIVE + virtual void DetachMenuBar(); + virtual void AttachMenuBar(wxMenuBar *menubar); +#endif // wxUSE_MENUS_NATIVE -private: - DECLARE_DYNAMIC_CLASS(wxFrameGTK) + // is the frame currently iconized? + bool m_isIconized; }; #endif // __GTKFRAMEH__