]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
compilation fixes (bug #672413)
[wxWidgets.git] / src / msw / dc.cpp
index 79b1b5e14f4fd5191e3f841f4f34c5b135976803..8a05efa95c76f6b68e7d0206eff9e4e6c8ea2ba5 100644 (file)
@@ -2035,25 +2035,6 @@ void wxDC::SetLogicalScale(double x, double y)
     m_logicalScaleY = y;
 }
 
-#if WXWIN_COMPATIBILITY
-void wxDC::DoGetTextExtent(const wxString& string, float *x, float *y,
-                         float *descent, float *externalLeading,
-                         wxFont *theFont, bool use16bit) const
-{
-#ifdef __WXMICROWIN__
-    if (!GetHDC()) return;
-#endif
-
-    wxCoord x1, y1, descent1, externalLeading1;
-    GetTextExtent(string, & x1, & y1, & descent1, & externalLeading1, theFont, use16bit);
-    *x = x1; *y = y1;
-    if (descent)
-        *descent = descent1;
-    if (externalLeading)
-        *externalLeading = externalLeading1;
-}
-#endif
-
 #if wxUSE_DC_CACHEING
 
 /*