Use wxT() instead of _T() in XTI code.

_T() is deprecated and doesn't work with Solaris compiler, use wxT() instead.

Also change one occurrence of _T() inside a comment in wx/debug.h.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-01-09 18:48:39 +00:00
parent 9349c84fdb
commit ebd98179c5
5 changed files with 31 additions and 31 deletions

View File

@@ -355,7 +355,7 @@ public:
if ( m_toString )
(*m_toString)( data, result );
else
wxLogError( wxGetTranslation(_T("String conversions not supported")) );
wxLogError( wxGetTranslation(wxT("String conversions not supported")) );
}
// convert a string into a wxAny holding the corresponding data in this type
@@ -364,7 +364,7 @@ public:
if( m_fromString )
(*m_fromString)( data, result );
else
wxLogError( wxGetTranslation(_T("String conversions not supported")) );
wxLogError( wxGetTranslation(wxT("String conversions not supported")) );
}
// statics:
@@ -428,7 +428,7 @@ public:
if( m_toLong )
(*m_toLong)( data, result );
else
wxLogError( wxGetTranslation(_T("Long Conversions not supported")) );
wxLogError( wxGetTranslation(wxT("Long Conversions not supported")) );
}
// convert a long into a wxAny holding the corresponding data in this type
@@ -437,7 +437,7 @@ public:
if( m_fromLong )
(*m_fromLong)( data, result );
else
wxLogError( wxGetTranslation(_T("Long Conversions not supported")) );
wxLogError( wxGetTranslation(wxT("Long Conversions not supported")) );
}
private: