X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c60122bf37a65f07f517e14a98ce988a3eae8305..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/srchctrl.h?ds=sidebyside diff --git a/include/wx/srchctrl.h b/include/wx/srchctrl.h index 5ec9336f3f..386e849872 100644 --- a/include/wx/srchctrl.h +++ b/include/wx/srchctrl.h @@ -27,7 +27,10 @@ // no native version, use the generic one #define wxUSE_NATIVE_SEARCH_CONTROL 0 - #define wxSearchCtrlBaseBaseClass wxTextCtrlBase + class WXDLLIMPEXP_CORE wxSearchCtrlBaseBaseClass : public wxControl, + public wxTextCtrlIface + { + }; #endif // ---------------------------------------------------------------------------- @@ -52,9 +55,11 @@ public: wxSearchCtrlBase() { } virtual ~wxSearchCtrlBase() { } - // search control + // search control +#if wxUSE_MENUS virtual void SetMenu(wxMenu *menu) = 0; virtual wxMenu *GetMenu() = 0; +#endif // wxUSE_MENUS // get/set options virtual void ShowSearchButton( bool show ) = 0;