X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d66b09982c9cadc20f9abcf9e2bdc804ffa877a..497209d3b7b6e0d80734eabcd5a24b732f13ac42:/include/wx/gtk/mdi.h diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index 978b1abe86..53a3cdeceb 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -12,6 +12,9 @@ #include "wx/frame.h" +class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame; +class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow; + //----------------------------------------------------------------------------- // wxMDIParentFrame //----------------------------------------------------------------------------- @@ -58,12 +61,11 @@ public: wxMDIClientWindow *m_clientWindow; bool m_justInserted; - virtual void GtkOnSize(); virtual void OnInternalIdle(); protected: void Init(); - virtual bool HasVisibleMenubar() const; + virtual void DoGetClientSize(int* width, int* height) const; private: friend class wxMDIChildFrame; @@ -116,14 +118,6 @@ public: virtual void SetStatusWidths( int WXUNUSED(n), const int WXUNUSED(widths_field)[] ) {} #endif - // no size hints - virtual void DoSetSizeHints( int WXUNUSED(minW), - int WXUNUSED(minH), - int WXUNUSED(maxW) = wxDefaultCoord, - int WXUNUSED(maxH) = wxDefaultCoord, - int WXUNUSED(incW) = wxDefaultCoord, - int WXUNUSED(incH) = wxDefaultCoord) {} - #if wxUSE_TOOLBAR // no toolbar virtual wxToolBar* CreateToolBar( long WXUNUSED(style), @@ -166,6 +160,11 @@ protected: int width, int height, int sizeFlags = wxSIZE_AUTO); + // no size hints + virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH), + int WXUNUSED(maxW), int WXUNUSED(maxH), + int WXUNUSED(incW), int WXUNUSED(incH)) {} + private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxMDIChildFrame)