cast both ints to doubles for the X and Y scale factors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2008-12-17 14:21:57 +00:00
parent c9c023ddeb
commit fd5ed78ca0

View File

@ -579,7 +579,7 @@ void wxSVGFileDCImpl::NewGraphics ()
}
sLast.Printf( wxT("stroke-width:%d\" \n transform=\"translate(%.2g %.2g) scale(%.2g %.2g)\">"),
w, (double)m_logicalOriginX, m_logicalOriginY, m_scaleX, m_scaleY );
w, double(m_logicalOriginX), double(m_logicalOriginY), m_scaleX, m_scaleY );
s = sBrush + sPenCap + sPenJoin + sPenStyle + sLast + newline + sWarn;
write(s);