X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffdf1b49033b9a2d9cfda3580bc982eeb70cc3d7..455f6b8d94e9e312e2c1a81a9515d784f9f4ac30:/src/xrc/xh_scwin.cpp diff --git a/src/xrc/xh_scwin.cpp b/src/xrc/xh_scwin.cpp index e075827f4e..e99190c020 100644 --- a/src/xrc/xh_scwin.cpp +++ b/src/xrc/xh_scwin.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_scwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,6 +15,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/xrc/xh_scwin.h" #include "wx/scrolwin.h" #include "wx/frame.h" // to get wxNO_3D @@ -59,3 +57,5 @@ bool wxScrolledWindowXmlHandler::CanHandle(wxXmlNode *node) { return IsOfClass(node, wxT("wxScrolledWindow")); } + +#endif // wxUSE_XRC