X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3811dacb398d9fdf89440fdf61991776412bb1e4..82bbd8907b6a5f4e476f8d9075afb6bef203a165:/include/wx/gtk/mdi.h diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index 051987ad7e..fb3521fa05 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,11 +61,11 @@ public: wxMDIClientWindow *m_clientWindow; bool m_justInserted; - virtual void GtkOnSize(); virtual void OnInternalIdle(); protected: void Init(); + virtual void DoGetClientSize(int* width, int* height) const; private: friend class wxMDIChildFrame; @@ -133,8 +136,6 @@ public: #endif // wxUSE_TOOLBAR // no icon - virtual void SetIcon(const wxIcon& icon) - { wxTopLevelWindowBase::SetIcon(icon); } virtual void SetIcons(const wxIconBundle& icons ) { wxTopLevelWindowBase::SetIcons(icons); } @@ -166,8 +167,6 @@ protected: virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); - virtual void DoSetClientSize(int width, int height); - virtual void DoGetClientSize( int *width, int *height ) const; private: DECLARE_EVENT_TABLE()