X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4628b41c98e27a3ad86f90f38260638cf739c68..6b06226335f3deaf7cc5f53cdf7341713a8cdca2:/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 {