Applied [ 625315 ] More const functions in geometry.h

Functions in geometry.h should be const if they don't
change member variables.

John Labenski


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-11-13 16:05:36 +00:00
parent cafe0fd75e
commit dcbcbc4065
2 changed files with 20 additions and 20 deletions

View File

@@ -164,7 +164,7 @@ void wxPoint2DInt::ReadFrom( wxDataInputStream &stream )
m_y = stream.Read32();
}
wxDouble wxPoint2DInt::GetVectorAngle()
wxDouble wxPoint2DInt::GetVectorAngle() const
{
if ( m_x == 0 )
{