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