applied patch #1185523: "Replace GetTextExtentPoint with GetTextExtentPoint32"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1797,7 +1797,7 @@ void wxWindowMSW::GetTextExtent(const wxString& string,
|
||||
|
||||
SIZE sizeRect;
|
||||
TEXTMETRIC tm;
|
||||
GetTextExtentPoint(hdc, string, string.length(), &sizeRect);
|
||||
::GetTextExtentPoint32(hdc, string, string.length(), &sizeRect);
|
||||
GetTextMetrics(hdc, &tm);
|
||||
|
||||
if ( x )
|
||||
|
Reference in New Issue
Block a user