]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dc.h
include wxchar.h from string.h in 2.8 compatibility mode to prevent lots of compilati...
[wxWidgets.git] / include / wx / mgl / dc.h
index 9380185c92b1277f98c74e0ee2c0a8e532327b96..94bd65c9f69db9379ed0fe18c0ab2387069f3664 100644 (file)
@@ -79,7 +79,7 @@ public:
                                  wxCoord *x, wxCoord *y,
                                  wxCoord *descent = NULL,
                                  wxCoord *externalLeading = NULL,
                                  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;
 
     virtual bool CanDrawBitmap() const;
     virtual bool CanGetTextExtent() const;
@@ -113,7 +113,7 @@ public:
     }
     wxCoord YDEV2LOGREL(wxCoord y) const
     {
     }
     wxCoord YDEV2LOGREL(wxCoord y) const
     {
-        return wxCoordRound((double)(y) / m_scaleY);
+        return wxRound((double)(y) / m_scaleY);
     }
     wxCoord XLOG2DEV(wxCoord x) const
     {
     }
     wxCoord XLOG2DEV(wxCoord x) const
     {