Use native hint wxTextCtrl support in wxSearchCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jul 2011 09:13:43 +0000 (09:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jul 2011 09:13:43 +0000 (09:13 +0000)
commit7ecc7eb6befabc80362afe9b98a494688576fcaf
treef957fd758c340fd766c754dbe317fde917bc8ef2
parentb748750e13e48bee0354812ff84d31cc7790fca1
Use native hint wxTextCtrl support in wxSearchCtrl.

Instead of using broken emulation of the support for hints available in the
text control, use the real wxTextCtrl::SetHint() for SetDescriptiveText()
implementation in the search control.

This looks better and, more importantly, fixes the bug when searching for the
string equal to the current descriptive text searched for an empty string
instead.

Closes #13324.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/srchctlg.cpp