]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor change to make spinbutton text match spinbutton position on startup
authorJ. Russell Smyth <drfish@cox.net>
Wed, 4 Aug 1999 19:51:51 +0000 (19:51 +0000)
committerJ. Russell Smyth <drfish@cox.net>
Wed, 4 Aug 1999 19:51:51 +0000 (19:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/controls/controls.cpp

index 27f1baa1285cc7f4efc0ee9cbc89ed09c9e81f7e..bae85a92ace7b7c166f32fe498273005f4a8740d 100644 (file)
@@ -456,7 +456,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
                            wxSize(240, 110)
                           );
 #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
     m_spinbutton = new wxSpinButton( panel, ID_SPIN, wxPoint(103,159), wxSize(-1,-1) );
     m_spinbutton->SetRange(-10,30);