+ void SetDescriptiveText(const wxString& text)
+ {
+ if ( GetValue() == m_descriptiveText )
+ {
+ ChangeValue(wxEmptyString);
+ }
+
+ m_descriptiveText = text;
+ }
+
+ wxString GetDescriptiveText() const
+ {
+ return m_descriptiveText;
+ }
+
+
+ // provide access to the base class protected methods to wxSearchCtrl which
+ // needs to forward to them
+ void DoSetValue(const wxString& value, int flags)
+ {
+ wxTextCtrl::DoSetValue(value, flags);
+ }
+
+ bool DoLoadFile(const wxString& file, int fileType)
+ {
+ return wxTextCtrl::DoLoadFile(file, fileType);
+ }
+
+ bool DoSaveFile(const wxString& file, int fileType)
+ {
+ return wxTextCtrl::DoSaveFile(file, fileType);
+ }
+