X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..b6e5eaa59701315ca06996ff845872ca4122695f:/include/wx/gtk1/frame.h diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index 23dde5eab4..8d37644740 100644 --- a/include/wx/gtk1/frame.h +++ b/include/wx/gtk1/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__