]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_panel.cpp
fix typo
[wxWidgets.git] / src / xrc / xh_panel.cpp
index b05433b0187ff8d58b413aa614699c1e93058847..6b6a467e19e7b675d75a38cf26ea2569bb503bb9 100644 (file)
@@ -19,6 +19,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xh_panel.h"
 #include "wx/panel.h"
 #include "wx/frame.h"  // to get wxNO_3D
@@ -54,3 +56,5 @@ bool wxPanelXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxPanel"));
 }
+
+#endif // wxUSE_XRC