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:
parent
dddf9e14ed
commit
caea989732
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user