#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
void wxSVGFileDC::write(const wxString &s)
{
- const wxWX2MBbuf buf = s.mb_str(wxConvUTF8);
+ const wxCharBuffer buf = s.utf8_str();
m_outfile->Write(buf, strlen((const char *)buf));
m_OK = m_outfile->Ok();
}
#pragma warn .rch
#pragma warn .ccc
#endif
+
+#endif // wxUSE_SVG
+