Minor change to make spinbutton text match spinbutton position on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
54e575f947
commit
51929198e4
@ -456,7 +456,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
|||||||
wxSize(240, 110)
|
wxSize(240, 110)
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
m_spintext = new wxTextCtrl( panel, -1, "0", wxPoint(20,160), wxSize(80,-1) );
|
m_spintext = new wxTextCtrl( panel, -1, "-5", wxPoint(20,160), wxSize(80,-1) );
|
||||||
#ifndef wxUSE_SPINBUTTON
|
#ifndef wxUSE_SPINBUTTON
|
||||||
m_spinbutton = new wxSpinButton( panel, ID_SPIN, wxPoint(103,159), wxSize(-1,-1) );
|
m_spinbutton = new wxSpinButton( panel, ID_SPIN, wxPoint(103,159), wxSize(-1,-1) );
|
||||||
m_spinbutton->SetRange(-10,30);
|
m_spinbutton->SetRange(-10,30);
|
||||||
|
Loading…
Reference in New Issue
Block a user