X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b180bded61df267e5f45f4ec0cccf6b52d36ae2..e10972f6c1436a6dcd5427b4e3913bb0f398e045:/include/wx/graphics.h 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;