X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4aab34290a0c966bffc9e529dae5666b5db77c96..7660b85c3147dc4d5a57e28fb738f1d45b7add4d:/src/generic/srchctlg.cpp diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index 75f9391892..b111b0de8f 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -123,7 +123,7 @@ public: { if ( GetValue() == m_descriptiveText ) { - SetValue(wxEmptyString); + ChangeValue(wxEmptyString); } m_descriptiveText = text; @@ -163,7 +163,7 @@ protected: { if ( IsEmpty() && !(wxWindow::FindFocus() == this) ) { - SetValue(m_descriptiveText); + ChangeValue(m_descriptiveText); SetInsertionPoint(0); SetForegroundColour(wxStepColour(m_defaultFG, LIGHT_STEP)); } @@ -174,7 +174,7 @@ protected: event.Skip(); if ( GetValue() == m_descriptiveText ) { - SetValue(wxEmptyString); + ChangeValue(wxEmptyString); SetForegroundColour(m_defaultFG); } }