From 6f32f3cea28e7f0dfe1618bced4d9648af26d6d7 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Wed, 9 Jun 2010 17:58:13 +0000 Subject: [PATCH] fix bug in wxGDIPlusMatrixData::Rotate: it must take radians for coherency with docs and other ports but GDI+ wants degrees. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64538 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 288997c7c1..d0c3c643ba 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -1044,7 +1044,7 @@ void wxGDIPlusMatrixData::Scale( wxDouble xScale , wxDouble yScale ) // add the rotation to this matrix (radians) void wxGDIPlusMatrixData::Rotate( wxDouble angle ) { - m_matrix->Rotate( angle ); + m_matrix->Rotate( RadToDeg(angle) ); } // -- 2.50.0