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
This commit is contained in:
Vadim Zeitlin
2014-09-23 17:42:49 +00:00
parent e37d2ae438
commit 52377e3be4

View File

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