mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 18:22:01 +08:00
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())
|
||||
{
|
||||
SetValue( value );
|
||||
ChangeValue(value);
|
||||
InvalidateBestSize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user