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
This commit is contained in:
Vadim Zeitlin
2014-09-23 17:42:42 +00:00
parent 9ea0ff1374
commit f7f8dcd7bc

View File

@@ -746,7 +746,7 @@ bool wxTextCtrl::Create(wxWindow *parent,
}
RecalcFontMetrics();
SetValue(value);
DoSetValue(value, SetValue_NoEvent);
SetInitialSize(size);
m_isEditable = !(style & wxTE_READONLY);