X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bc333d76d46ce8b3a0077e211ff1485673ae725..7b0ccb8a603b4f97740acc65d9429bb58f7ba1bd:/include/wx/mac/carbon/srchctrl.h diff --git a/include/wx/mac/carbon/srchctrl.h b/include/wx/mac/carbon/srchctrl.h index 6c3f2496a2..eba88ccc43 100644 --- a/include/wx/mac/carbon/srchctrl.h +++ b/include/wx/mac/carbon/srchctrl.h @@ -15,7 +15,7 @@ class wxMacSearchFieldControl; -class WXDLLEXPORT wxSearchCtrl : public wxSearchCtrlBase +class WXDLLIMPEXP_CORE wxSearchCtrl : public wxSearchCtrlBase { public: // creation @@ -53,6 +53,10 @@ public: virtual void ShowCancelButton( bool show ); virtual bool IsCancelButtonVisible() const; + // TODO: In 2.9 these should probably be virtual, and declared in the base class... + void SetDescriptiveText(const wxString& text); + wxString GetDescriptiveText() const; + virtual wxInt32 MacSearchFieldSearchHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; virtual wxInt32 MacSearchFieldCancelHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ;