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:
@@ -746,7 +746,7 @@ bool wxTextCtrl::Create(wxWindow *parent,
|
||||
}
|
||||
|
||||
RecalcFontMetrics();
|
||||
SetValue(value);
|
||||
DoSetValue(value, SetValue_NoEvent);
|
||||
SetInitialSize(size);
|
||||
|
||||
m_isEditable = !(style & wxTE_READONLY);
|
||||
|
Reference in New Issue
Block a user