descriptive text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44276
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString wxSearchCtrl::GetValue() const
{
wxString wxSearchCtrl::GetValue() const
{
- return m_text->GetValue();
+ wxString value = m_text->GetValue();
+ if (value == m_text->GetDescriptiveText())
+ return wxEmptyString;
+ else
+ return value;
}
void wxSearchCtrl::SetValue(const wxString& value)
{
}
void wxSearchCtrl::SetValue(const wxString& value)
{