X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c11ecdbed3845da98e0b492b82d19fd668cffed..45b8a2566d46bf77f13553937df258e44c88a789:/contrib/include/wx/svg/dcsvg.h diff --git a/contrib/include/wx/svg/dcsvg.h b/contrib/include/wx/svg/dcsvg.h index 289f1eaccb..fefeea5084 100644 --- a/contrib/include/wx/svg/dcsvg.h +++ b/contrib/include/wx/svg/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: