From: Chris Elliott Date: Tue, 16 Dec 2008 21:26:55 +0000 (+0000) Subject: same as r57053 in 2.8 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/053025ac94f0b6e9380b41ce46644b4fc4651a10?ds=inline same as r57053 in 2.8 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 2d0b4dcbab..5e6c73258c 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -119,10 +119,12 @@ void wxSVGFileDCImpl::Init (const wxString &filename, int Width, int Height, dou write(s); s = wxT(" ")+ newline ; - write(s); - s.Printf ( wxT(" \n"), float(Width)/dpi*2.54, float(Height)/dpi*2.54, Width, Height ); + s = wxT("\"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\"> ") + newline ; write(s); + s = wxT(" \n"), float(Width)/dpi*2.54, float(Height)/dpi*2.54, Width, Height ); + write(s); s = wxT("SVG Picture created as ") + wxFileNameFromPath(filename) + wxT(" ") + newline ; write(s); s = wxString (wxT("Picture generated by wxSVG ")) + wxSVGVersion + wxT(" ")+ newline ;