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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user