Avoid generating wxEVT_TEXT when wxTextCtrl initial value is not empty
See #18714
This commit is contained in:
parent
d781764d6d
commit
3e7e7dd24c
@ -816,7 +816,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
|
||||
|
||||
if (!value.empty())
|
||||
{
|
||||
SetValue( value );
|
||||
ChangeValue(value);
|
||||
InvalidateBestSize();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user