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));