X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f178ab7e82544871ae3e59341c1953d5ce088365..f2dec5b10d6fb8d05cadcf73ff53b5ed99de9c4e:/src/msw/dc.cpp diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 79b1b5e14f..8a05efa95c 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -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 /*