From 52377e3be46ad4300622b3d94c65e7352a29d15e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:42:49 +0000 Subject: [PATCH] replace DoSetValue by ChangeValue, which do not send event too, and consistent with docs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77831 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 f5a5c1dfa9..307ce89f7b 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -746,7 +746,7 @@ bool wxTextCtrl::Create(wxWindow *parent, } RecalcFontMetrics(); - DoSetValue(value, SetValue_NoEvent); + ChangeValue(value); SetInitialSize(size); m_isEditable = !(style & wxTE_READONLY);