X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4628b41c98e27a3ad86f90f38260638cf739c68..a7f8eb6d0fe67f96eb6b7e3a88ba27d80756162b:/include/wx/mgl/dc.h diff --git a/include/wx/mgl/dc.h b/include/wx/mgl/dc.h index 9380185c92..eafae45054 100644 --- a/include/wx/mgl/dc.h +++ b/include/wx/mgl/dc.h @@ -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 {