From 4a3ddd5b2cbf44c5c3599ca41e96852d6970c637 Mon Sep 17 00:00:00 2001 From: Lorenzo Marcantonio Date: Wed, 29 Aug 2012 19:35:23 +0200 Subject: [PATCH] const-ifiation of member --- include/base_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/base_struct.h b/include/base_struct.h index c2223b5326..3e43ed977c 100644 --- a/include/base_struct.h +++ b/include/base_struct.h @@ -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 ) );