]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_html.cpp
Compilo.
[wxWidgets.git] / src / xrc / xh_html.cpp
index 156370d27ab92ac634fb0f32f904c0159d16996e..7bdf27ed8fa70ac95598b7dbf403ec9eb84b9cdd 100644 (file)
@@ -19,9 +19,9 @@
     #pragma hdrstop
 #endif
 
-#include "wx/xrc/xh_html.h"
+#if wxUSE_XRC && wxUSE_HTML
 
-#if wxUSE_HTML
+#include "wx/xrc/xh_html.h"
 
 #include "wx/html/htmlwin.h"
 #include "wx/filesys.h"
@@ -82,4 +82,4 @@ bool wxHtmlWindowXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxHtmlWindow"));
 }
 
-#endif // wxUSE_HTML
+#endif // wxUSE_XRC && wxUSE_HTML