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:
//SetSize(csize);
//MacPostControlCreate(pos, csize);
- SetInitialBestSize(csize);
+ SetInitialSize(csize);
return true;
}