X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3db799025def6081154db09b3ba3d771f741d91b..9b58521dc97c069e4e3fc283a6d90497e1bcc80c:/src/msw/dc.cpp diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 86e464506c..63f940e5a9 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -1635,7 +1635,7 @@ void wxDC::DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y, SIZE sizeRect; TEXTMETRIC tm; - GetTextExtentPoint(GetHdc(), string, string.length(), &sizeRect); + ::GetTextExtentPoint32(GetHdc(), string, string.length(), &sizeRect); GetTextMetrics(GetHdc(), &tm); if (x)