X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78cededfdcc2d1bde79d40aa10d11f5768f046f4..d897635497a2f396d1972d7584e83bf3e64b0b95:/include/wx/dcsvg.h diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index b4eb84afa1..2ac99a2548 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -28,7 +28,7 @@ class WXDLLIMPEXP_FWD_BASE wxFileOutputStream; -class WXDLLIMPEXP_FWD_BASE wxSVGFileDC; +class WXDLLIMPEXP_FWD_CORE wxSVGFileDC; class WXDLLIMPEXP_CORE wxSVGFileDCImpl : public wxDCImpl { @@ -203,10 +203,12 @@ private: class WXDLLIMPEXP_CORE wxSVGFileDC : public wxDC { public: - wxSVGFileDC( const wxString &filename, - int width=320, int height=240, double dpi=72.0 ) + wxSVGFileDC(const wxString& filename, + int width = 320, + int height = 240, + double dpi = 72.0) + : wxDC(new wxSVGFileDCImpl(this, filename, width, height, dpi)) { - m_pimpl = new wxSVGFileDCImpl( this, filename, width, height, dpi ); } };