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:
@@ -565,7 +565,7 @@ public:
|
|||||||
virtual bool SetCompositionMode(wxCompositionMode op) = 0;
|
virtual bool SetCompositionMode(wxCompositionMode op) = 0;
|
||||||
|
|
||||||
// returns the size of the graphics context in device coordinates
|
// 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 )
|
if ( width )
|
||||||
*width = m_width;
|
*width = m_width;
|
||||||
|
Reference in New Issue
Block a user