From 51929198e4539427158dd1b374a5c0a32f82b505 Mon Sep 17 00:00:00 2001 From: "J. Russell Smyth" Date: Wed, 4 Aug 1999 19:51:51 +0000 Subject: [PATCH] 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 --- samples/controls/controls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 27f1baa128..bae85a92ac 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -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);