]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxGraphicsContext::GetSize() const.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Aug 2012 13:05:11 +0000 (13:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Aug 2012 13:05:11 +0000 (13:05 +0000)
Closes #14556.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/graphics.h

index 0e534a6e61ebaf603c0c084cb30fc9efb3f3a238..656a338d3bdbbda37b3cbb3ec4fae42d7ce0edab 100644 (file)
@@ -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;