fixed problem with set angle dialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-06-17 22:39:47 +00:00
parent 8ebc8d5d7d
commit afa7da4a16

View File

@@ -136,6 +136,7 @@ void MyFrame::OnAngle (wxCommandEvent &)
degrees,
-180, +180,
this);
if ( degrees != -1 )
m_angle = (degrees * M_PI) / 180.0;
}