]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/srchctrl.h
compilation fix for windows compilers: _wrename is declared in io.h
[wxWidgets.git] / include / wx / srchctrl.h
index 5ec9336f3f13cbfb554320431c5d643c5a2a2bbf..c76678af9082783ee1742593afbc121c44a1294d 100644 (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;