X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78cededfdcc2d1bde79d40aa10d11f5768f046f4..512cfcc34118a5da1b14c8cbaae1690fd4b23a4b:/include/wx/dcsvg.h diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index b4eb84afa1..72544270eb 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -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 ); } };