X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c11ecdbed3845da98e0b492b82d19fd668cffed..6a6aa79855fd5be3197626ac80af0361fe3e2aac:/include/wx/dcsvg.h diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index 289f1eaccb..c2eef701b8 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: