Remove unnecessary c_str() from wx var arg functions arguments
Using c_str() for arguments to wxString::Printf(), Format() and wxLogXXX() is useless since wx 2.9 days, so simply remove them. No real changes, this is just a (long due) cleanup.
This commit is contained in:
@@ -463,7 +463,7 @@ void wxToolTip::DoAddHWND(WXHWND hWnd)
|
||||
|
||||
if ( !SendTooltipMessage(GetToolTipCtrl(), TTM_ADDTOOL, &ti) )
|
||||
{
|
||||
wxLogDebug(wxT("Failed to create the tooltip '%s'"), m_text.c_str());
|
||||
wxLogDebug(wxT("Failed to create the tooltip '%s'"), m_text);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -479,7 +479,7 @@ void wxToolTip::DoAddHWND(WXHWND hWnd)
|
||||
|
||||
if ( !SendTooltipMessage(GetToolTipCtrl(), TTM_ADDTOOL, &ti) )
|
||||
{
|
||||
wxLogDebug(wxT("Failed to create the tooltip '%s'"), m_text.c_str());
|
||||
wxLogDebug(wxT("Failed to create the tooltip '%s'"), m_text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user