avoid code duplication between the generic and GTK versions, factor the common code out in OnStateChange()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-22 23:27:10 +00:00
parent 2cbf701441
commit 4223cec504
3 changed files with 22 additions and 40 deletions

View File

@@ -71,6 +71,10 @@ public:
virtual wxString GetLabel() const
{ return m_strLabel; }
// implementation only, don't use
void OnStateChange(const wxSize& sizeNew);
protected:
// overridden methods
virtual wxSize DoGetBestSize() const;