Make wxGraphicsContext::GetSize() const.

Closes #14556.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-08-03 13:05:11 +00:00
parent b3b3713300
commit a3db17b122

View 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;