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:
parent
b3b3713300
commit
a3db17b122
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user