From f7f8dcd7bc385dd6cb98ea098e14561534a2a15c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:42:42 +0000 Subject: [PATCH] call DoSetValue directly will allow us not send event. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/textctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 979749d92c..f5a5c1dfa9 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -746,7 +746,7 @@ bool wxTextCtrl::Create(wxWindow *parent, } RecalcFontMetrics(); - SetValue(value); + DoSetValue(value, SetValue_NoEvent); SetInitialSize(size); m_isEditable = !(style & wxTE_READONLY);