From ebbe5c668623e6d8c4b7c018832e54381af1468e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 9 Oct 2006 16:05:08 +0000 Subject: [PATCH] adding angle conversion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )