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:
@@ -387,7 +387,7 @@ void CopyDataFromPNG(wxImage *image,
|
||||
|
||||
// must be opaque then as otherwise we shouldn't be
|
||||
// using the mask at all
|
||||
wxASSERT_MSG( IsOpaque(a), _T("logic error") );
|
||||
wxASSERT_MSG( IsOpaque(a), wxT("logic error") );
|
||||
|
||||
// fall through
|
||||
|
||||
@@ -455,7 +455,7 @@ void CopyDataFromPNG(wxImage *image,
|
||||
{
|
||||
// must be opaque then as otherwise we shouldn't be
|
||||
// using the mask at all
|
||||
wxASSERT_MSG( IsOpaque(a), _T("logic error") );
|
||||
wxASSERT_MSG( IsOpaque(a), wxT("logic error") );
|
||||
|
||||
// if we couldn't find a unique colour for the
|
||||
// mask, we can have real pixels with the same
|
||||
@@ -781,7 +781,7 @@ bool wxPNGHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbos
|
||||
break;
|
||||
|
||||
default:
|
||||
wxFAIL_MSG( _T("unsupported image resolution units") );
|
||||
wxFAIL_MSG( wxT("unsupported image resolution units") );
|
||||
}
|
||||
|
||||
if ( resX && resY )
|
||||
@@ -828,7 +828,7 @@ bool wxPNGHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbos
|
||||
switch ( iColorType )
|
||||
{
|
||||
default:
|
||||
wxFAIL_MSG( _T("unknown wxPNG_TYPE_XXX") );
|
||||
wxFAIL_MSG( wxT("unknown wxPNG_TYPE_XXX") );
|
||||
// fall through
|
||||
|
||||
case wxPNG_TYPE_COLOUR:
|
||||
|
Reference in New Issue
Block a user