const-ifiation of member

This commit is contained in:
Lorenzo Marcantonio 2012-08-29 19:35:23 +02:00
parent 94fdc674aa
commit c7e3e31db6
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ public:
m_Size( aSize )
{ }
wxPoint Centre()
wxPoint Centre() const
{
return wxPoint( m_Pos.x + ( m_Size.x >> 1 ),
m_Pos.y + ( m_Size.y >> 1 ) );