]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/frame.h
pragma fix for gcc
[wxWidgets.git] / include / wx / gtk / frame.h
index 23dde5eab48474b4deb283597f590aea04fb42c3..8d3764474078b79680132c77cf3fe9b033d83434 100644 (file)
@@ -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__