]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied #15375 to stop event-sending in generic wxSpinCtrl ctor (eco)
authorJulian Smart <julian@anthemion.co.uk>
Wed, 31 Jul 2013 10:47:03 +0000 (10:47 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 31 Jul 2013 10:47:03 +0000 (10:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/spinctlg.cpp

index 0b81a4289e6ed5adcf72a8145d28fcf293b1fc05..3b5b06fd14c43b57a60ce56ff90ec39ad9c61ca8 100644 (file)
@@ -230,7 +230,7 @@ bool wxSpinCtrlGenericBase::Create(wxWindow *parent,
         if ( DoTextToValue(value, &d) )
         {
             m_value = d;
-            m_textCtrl->SetValue(DoValueToText(m_value));
+            m_textCtrl->ChangeValue(DoValueToText(m_value));
         }
     }