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:
@@ -317,9 +317,9 @@ void wxToolTip::Add(WXHWND hWnd)
|
||||
}
|
||||
|
||||
SIZE sz;
|
||||
if ( !GetTextExtentPoint(hdc, m_text, index, &sz) )
|
||||
if ( !::GetTextExtentPoint32(hdc, m_text, index, &sz) )
|
||||
{
|
||||
wxLogLastError(wxT("GetTextExtentPoint"));
|
||||
wxLogLastError(wxT("GetTextExtentPoint32"));
|
||||
}
|
||||
|
||||
SendTooltipMessage(GetToolTipCtrl(), TTM_SETMAXTIPWIDTH,
|
||||
|
Reference in New Issue
Block a user