]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_menu.cpp
Use generic collapsible pane for wxUniv based builds.
[wxWidgets.git] / src / xrc / xh_menu.cpp
index ee8530d61525cc5572fcd97c63d07569d70e1c08..217b155c024c82097429ab871de3c5c17d1f0614 100644 (file)
@@ -15,7 +15,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_MENUS
 
 #include "wx/xrc/xh_menu.h"
 
@@ -149,4 +149,4 @@ bool wxMenuBarXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxMenuBar"));
 }
 
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_MENUS