X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e516208e3dd9a136c69c00a73d825700b937d32c..f9e19204bf8327f1e71f127e5542ee8306282280:/include/wx/dc.h?ds=sidebyside diff --git a/include/wx/dc.h b/include/wx/dc.h index 9f32103d85..b519785afa 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -475,7 +475,7 @@ public: } virtual void SetLogicalScale(double x, double y); - virtual void GetLogicalScale(double *x, double *y) + virtual void GetLogicalScale(double *x, double *y) const { if ( x ) *x = m_logicalScaleX; if ( y ) *y = m_logicalScaleY; @@ -1020,7 +1020,7 @@ public: void SetLogicalScale(double x, double y) { m_pimpl->SetLogicalScale( x, y ); } - void GetLogicalScale(double *x, double *y) + void GetLogicalScale(double *x, double *y) const { m_pimpl->GetLogicalScale( x, y ); } void SetLogicalOrigin(wxCoord x, wxCoord y)