Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -235,7 +235,7 @@ wxIcon wxIconBundle::GetIconOfExactSize(const wxSize& size) const
|
||||
|
||||
void wxIconBundle::AddIcon(const wxIcon& icon)
|
||||
{
|
||||
wxCHECK_RET( icon.IsOk(), _T("invalid icon") );
|
||||
wxCHECK_RET( icon.IsOk(), wxT("invalid icon") );
|
||||
|
||||
AllocExclusive();
|
||||
|
||||
@@ -266,7 +266,7 @@ size_t wxIconBundle::GetIconCount() const
|
||||
|
||||
wxIcon wxIconBundle::GetIconByIndex(size_t n) const
|
||||
{
|
||||
wxCHECK_MSG( n < GetIconCount(), wxNullIcon, _T("invalid index") );
|
||||
wxCHECK_MSG( n < GetIconCount(), wxNullIcon, wxT("invalid index") );
|
||||
|
||||
return M_ICONBUNDLEDATA->m_icons[n];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user