X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e516208e3dd9a136c69c00a73d825700b937d32c..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/dc.h 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)