From a3db17b122145b097ecfc92f8abc4e8b124c5aee Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 3 Aug 2012 13:05:11 +0000 Subject: [PATCH] Make wxGraphicsContext::GetSize() const. Closes #14556. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/graphics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 0e534a6e61..656a338d3b 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -565,7 +565,7 @@ public: virtual bool SetCompositionMode(wxCompositionMode op) = 0; // returns the size of the graphics context in device coordinates - void GetSize(wxDouble* width, wxDouble* height) + void GetSize(wxDouble* width, wxDouble* height) const { if ( width ) *width = m_width; -- 2.45.2