]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/graphics.h
Use SelectAll() instead of SetSelection(-1, -1).
[wxWidgets.git] / 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;