X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9ea011f4d7f66c9728593c5ee10ce2c34964545..f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220:/include/wx/gtk/control.h diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index f18f219d8c..e7869e4f0e 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -29,10 +29,8 @@ class wxControl; // wxControl //----------------------------------------------------------------------------- -class wxControl : public wxWindow +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__