From: Stefan Csomor Date: Mon, 9 Oct 2006 16:05:08 +0000 (+0000) Subject: adding angle conversion X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ebbe5c668623e6d8c4b7c018832e54381af1468e adding angle conversion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/graphics.cpp b/src/msw/graphics.cpp index 04d75772e6..69f3a08e67 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -417,7 +417,7 @@ wxGraphicsPath* wxGDIPlusContext::CreatePath() void wxGDIPlusContext::Rotate( wxDouble angle ) { - m_context->RotateTransform( angle ); + m_context->RotateTransform( RadToDeg(angle) ); } void wxGDIPlusContext::Translate( wxDouble dx , wxDouble dy )