X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4628b41c98e27a3ad86f90f38260638cf739c68..e3e8e3c0aa864da4c7e5bfbee200d9f0732cf4c5:/include/wx/mgl/dc.h?ds=sidebyside diff --git a/include/wx/mgl/dc.h b/include/wx/mgl/dc.h index 9380185c92..94bd65c9f6 100644 --- a/include/wx/mgl/dc.h +++ b/include/wx/mgl/dc.h @@ -79,7 +79,7 @@ public: wxCoord *x, wxCoord *y, wxCoord *descent = NULL, wxCoord *externalLeading = NULL, - wxFont *theFont = NULL) const; + const wxFont *theFont = NULL) const; virtual bool CanDrawBitmap() const; virtual bool CanGetTextExtent() const; @@ -113,7 +113,7 @@ public: } wxCoord YDEV2LOGREL(wxCoord y) const { - return wxCoordRound((double)(y) / m_scaleY); + return wxRound((double)(y) / m_scaleY); } wxCoord XLOG2DEV(wxCoord x) const {