m_spin = spin;
// remove the default minsize, the spinctrl will have one instead
- SetSizeHints(wxDefaultSize.x,wxDefaultSize.y);
+ SetSizeHints(wxDefaultCoord,wxDefaultCoord);
}
protected:
SetWindowStyle(style | wxSP_VERTICAL);
// remove the default minsize, the spinctrl will have one instead
- SetSizeHints(wxDefaultSize.x,wxDefaultSize.y);
+ SetSizeHints(wxDefaultCoord,wxDefaultCoord);
}
protected:
wxCoord wText = width - sizeBtn.x;
m_text->SetSize(x, y, wText, height);
- m_btn->SetSize(x + wText + MARGIN, y, wxDefaultSize.x, height);
+ m_btn->SetSize(x + wText + MARGIN, y, wxDefaultCoord, height);
}
// ----------------------------------------------------------------------------