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