Replaced SetSizeHints -> SetMinSize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2006-10-30 19:13:20 +00:00
parent dddf9e14ed
commit caea989732

View File

@ -44,7 +44,7 @@ public:
m_spin = spin;
// remove the default minsize, the spinctrl will have one instead
SetSizeHints(-1,-1);
SetMinSize(wxDefaultSize);
}
bool ProcessEvent(wxEvent &event)
@ -153,7 +153,7 @@ public:
//SetWindowVariant(wxWINDOW_VARIANT_SMALL);
// remove the default minsize, the spinctrl will have one instead
SetSizeHints(-1,-1);
SetMinSize(wxDefaultSize);
}
protected: