X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..24aab8e81a8627802e4111d9c99a50ece8d0026e:/src/xrc/xh_html.cpp?ds=sidebyside diff --git a/src/xrc/xh_html.cpp b/src/xrc/xh_html.cpp index 156370d27a..9ad368cd86 100644 --- a/src/xrc/xh_html.cpp +++ b/src/xrc/xh_html.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_html.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,9 +15,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 +78,4 @@ bool wxHtmlWindowXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxHtmlWindow")); } -#endif // wxUSE_HTML +#endif // wxUSE_XRC && wxUSE_HTML