X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6243633c6308a9353573cc27463e5a8554b61a0c..d94de683a60b20153591cc3f8f52a97cf9ce9453:/src/common/dcsvg.cpp diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 4810844b53..9a94179c2d 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -15,12 +15,17 @@ #pragma hdrstop #endif +#if wxUSE_SVG + #ifndef WX_PRECOMP -#include "wx/wx.h" + #include "wx/dcmemory.h" + #include "wx/dcscreen.h" + #include "wx/icon.h" + #include "wx/image.h" #endif #include "wx/dcsvg.h" -#include "wx/image.h" +#include "wx/wfstream.h" #define wxSVG_DEBUG FALSE // or TRUE to see the calls being executed @@ -711,3 +716,6 @@ void wxSVGFileDC::SetDeviceOrigin(wxCoord x, wxCoord y) #pragma warn .rch #pragma warn .ccc #endif + +#endif // wxUSE_SVG +