X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/738f9e5a12b8bb3936cc10347be98390602d3660..76443e70a5ccbd0a1c3cc6a999297b7ab46766f7:/include/wx/gtk/control.h diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index 3b19b4c98c..e7869e4f0e 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -29,7 +29,7 @@ class wxControl; // wxControl //----------------------------------------------------------------------------- -class wxControl : public wxWindow +class wxControl : public wxControlBase { public: wxControl(); @@ -46,6 +46,8 @@ public: virtual wxString GetLabel() const; protected: + virtual wxSize DoGetBestSize() const; + wxString m_label; char m_chAccel; // enabled to avoid breaking binary compatibility later on