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 {