Commit c7e3e31d authored by Lorenzo Marcantonio's avatar Lorenzo Marcantonio

const-ifiation of member

parent 94fdc674
...@@ -215,7 +215,7 @@ public: ...@@ -215,7 +215,7 @@ public:
m_Size( aSize ) m_Size( aSize )
{ } { }
wxPoint Centre() wxPoint Centre() const
{ {
return wxPoint( m_Pos.x + ( m_Size.x >> 1 ), return wxPoint( m_Pos.x + ( m_Size.x >> 1 ),
m_Pos.y + ( m_Size.y >> 1 ) ); m_Pos.y + ( m_Size.y >> 1 ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment