From 79fa753641c65019383c526ed641a7830b851daf Mon Sep 17 00:00:00 2001 From: Kvaz1r Date: Mon, 1 May 2023 12:07:11 +0300 Subject: [PATCH] Fix showing hint in wxUniv wxTextCtrl Correctly remove the hint when the text control is focused. Closes #23511. --- src/univ/textctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 31667224a4..c3700139f8 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -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));