fix compilation in wxUSE_MENUS==0 case to fix wxDFB build [backport from HEAD]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-05 14:51:51 +00:00
parent aec0c095e4
commit 762b9d2f34
3 changed files with 79 additions and 32 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;