Avoid generating wxEVT_TEXT when wxTextCtrl initial value is not empty

See #18714
This commit is contained in:
Paul Cornett 2020-04-01 10:23:44 -07:00
parent d781764d6d
commit 3e7e7dd24c

View File

@ -816,7 +816,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
if (!value.empty())
{
SetValue( value );
ChangeValue(value);
InvalidateBestSize();
}