X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d99be5f5381dad56492da02c2df1c3ec0750926..700ec4546cfa7a89b3bca0a4eb5b6ee9d43ac17a:/include/wx/gtk/control.h diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index 45d0ea230e..e7869e4f0e 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -31,8 +31,6 @@ class wxControl; class wxControl : public wxControlBase { - DECLARE_DYNAMIC_CLASS(wxControl) - public: wxControl(); wxControl( wxWindow *parent, @@ -48,8 +46,13 @@ public: virtual wxString GetLabel() const; protected: + virtual wxSize DoGetBestSize() const; + wxString m_label; char m_chAccel; // enabled to avoid breaking binary compatibility later on + +private: + DECLARE_DYNAMIC_CLASS(wxControl) }; #endif // __GTKCONTROLH__