if ( index != wxNOT_FOUND )
{
#ifdef TTM_SETMAXTIPWIDTH
- if ( wxTheApp->GetComCtl32Version() >= 470 )
+ if ( wxApp::GetComCtl32Version() >= 470 )
{
// use TTM_SETMAXTIPWIDTH to make tooltip multiline using the
// extent of its first line as max value
}
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,