X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90d05e9b6efd5ffd7f61eac0b365924fa7419ba4..59c516a34ad204cf096798b9176425655aaa0d18:/samples/controls/controls.cpp?ds=sidebyside diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 63c92a6883..a3ec62f705 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -939,7 +939,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) #if wxUSE_SPINCTRL m_spinctrl = new wxSpinCtrl( panel, ID_SPINCTRL, wxEmptyString, wxPoint(200, 160), wxSize(80, wxDefaultCoord) ); - //m_spinctrl->SetRange(10,30); + m_spinctrl->SetRange(-10,30); m_spinctrl->SetValue(15); #endif // wxUSE_SPINCTRL