From cc4d5638c66a409e421420ed7110917755a66788 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 31 Jul 2013 10:47:03 +0000 Subject: [PATCH] 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 --- src/generic/spinctlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- 2.45.2