X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4628b41c98e27a3ad86f90f38260638cf739c68..8120bbc9166a16f95c03d0ee50974117429be9e0:/include/wx/mgl/dc.h?ds=sidebyside 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 {