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