Fix showing hint in wxUniv wxTextCtrl

Correctly remove the hint when the text control is focused.

Closes #23511.
This commit is contained in:
Kvaz1r 2023-05-01 12:07:11 +03:00 committed by Vadim Zeitlin
parent 1093bb492b
commit 79fa753641

View file

@ -783,7 +783,7 @@ wxTextCtrl::~wxTextCtrl()
void wxTextCtrl::DoSetValue(const wxString& value, int flags)
{
if ( value != GetValue() )
if ( value != DoGetValue() )
{
EventsSuppressor noeventsIf(this, !(flags & SetValue_SendEvent));