X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b180bded61df267e5f45f4ec0cccf6b52d36ae2..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/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;