more changes to make wx compile without implicit wxString->char* conversion (for STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -339,7 +339,7 @@ void wxToolTip::Add(WXHWND hWnd)
|
||||
while (token.length())
|
||||
{
|
||||
SIZE sz;
|
||||
if ( !::GetTextExtentPoint32(hdc, token, token.length(), &sz) )
|
||||
if ( !::GetTextExtentPoint32(hdc, token.wx_str(), token.length(), &sz) )
|
||||
{
|
||||
wxLogLastError(wxT("GetTextExtentPoint32"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user