From: Vadim Zeitlin Date: Fri, 3 Aug 2012 13:05:11 +0000 (+0000) Subject: Make wxGraphicsContext::GetSize() const. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a3db17b122145b097ecfc92f8abc4e8b124c5aee Make wxGraphicsContext::GetSize() const. Closes #14556. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;