X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..2e2b69eececf83c7097435e1f4482cc153e8d82c:/src/xrc/xh_html.cpp diff --git a/src/xrc/xh_html.cpp b/src/xrc/xh_html.cpp index 156370d27a..7bdf27ed8f 100644 --- a/src/xrc/xh_html.cpp +++ b/src/xrc/xh_html.cpp @@ -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