X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c11ecdbed3845da98e0b492b82d19fd668cffed..79099b80ad442cb93b2f7df716bf3d1dd80b446f:/include/wx/dcsvg.h diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index 289f1eaccb..fefeea5084 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -3,6 +3,14 @@ #include #include +#ifdef WXMAKINGDLL_SVG + #define WXDLLIMPEXP_SVG WXEXPORT +#elif defined(WXUSINGDLL) + #define WXDLLIMPEXP_SVG WXIMPORT +#else // not making nor using DLL + #define WXDLLIMPEXP_SVG +#endif + #define wxSVGVersion wxT("v0100") #ifdef __BORLANDC__ #pragma warn -rch @@ -20,7 +28,7 @@ #define mm2pt 2.83464566929 #define pt2mm 0.352777777778 -class wxSVGFileDC : public wxDC +class WXDLLIMPEXP_SVG wxSVGFileDC : public wxDC { private: @@ -183,6 +191,7 @@ class wxSVGFileDC : public wxDC return (wxCoord)((double)(y) * m_scaleY - 0.5); } + void write(const wxString &s); public: