X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/738f9e5a12b8bb3936cc10347be98390602d3660..20d9661c04e34d64dbec300c002d5d1c1f70ad1e:/include/wx/gtk1/control.h?ds=sidebyside diff --git a/include/wx/gtk1/control.h b/include/wx/gtk1/control.h index 3b19b4c98c..e7869e4f0e 100644 --- a/include/wx/gtk1/control.h +++ b/include/wx/gtk1/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