X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5e31cc8e2c4e5399548a637e3b9705d37a19335..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/gtk/mdi.h diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index e881dd1319..978b1abe86 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -63,8 +63,7 @@ public: protected: void Init(); - - virtual void DoGetClientSize(int *width, int *height) const; + virtual bool HasVisibleMenubar() const; private: friend class wxMDIChildFrame; @@ -135,8 +134,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); } @@ -152,6 +149,8 @@ public: virtual bool IsTopLevel() const { return false; } + virtual bool Destroy(); + void OnActivate( wxActivateEvent& event ); void OnMenuHighlight( wxMenuEvent& event ); @@ -166,8 +165,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()