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:
@@ -136,7 +136,8 @@ void MyFrame::OnAngle (wxCommandEvent &)
|
|||||||
degrees,
|
degrees,
|
||||||
-180, +180,
|
-180, +180,
|
||||||
this);
|
this);
|
||||||
m_angle = (degrees * M_PI) / 180.0;
|
if ( degrees != -1 )
|
||||||
|
m_angle = (degrees * M_PI) / 180.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyFrame::OnQuit (wxCommandEvent &)
|
void MyFrame::OnQuit (wxCommandEvent &)
|
||||||
|
Reference in New Issue
Block a user