From: Julian Smart Date: Wed, 31 Jul 2013 10:47:03 +0000 (+0000) Subject: Applied #15375 to stop event-sending in generic wxSpinCtrl ctor (eco) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cc4d5638c66a409e421420ed7110917755a66788 Applied #15375 to stop event-sending in generic wxSpinCtrl ctor (eco) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/spinctlg.cpp b/src/generic/spinctlg.cpp index 0b81a4289e..3b5b06fd14 100644 --- a/src/generic/spinctlg.cpp +++ b/src/generic/spinctlg.cpp @@ -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)); } }