fix compilation in wxUSE_MENUS==0 case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-05 14:48:20 +00:00
parent 4c84a0dc49
commit cfddeb1067
3 changed files with 62 additions and 15 deletions

View File

@@ -52,9 +52,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;