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:
Vadim Zeitlin
2009-07-23 20:30:22 +00:00
parent 32cdc45397
commit 9a83f86094
798 changed files with 10370 additions and 10349 deletions

View File

@@ -68,7 +68,7 @@ void wxStackFrame::OnGetName()
pSymbol
) )
{
wxDbgHelpDLL::LogError(_T("SymFromAddr"));
wxDbgHelpDLL::LogError(wxT("SymFromAddr"));
return;
}
@@ -96,7 +96,7 @@ void wxStackFrame::OnGetLocation()
{
// it is normal that we don't have source info for some symbols,
// notably all the ones from the system DLLs...
//wxDbgHelpDLL::LogError(_T("SymGetLineFromAddr"));
//wxDbgHelpDLL::LogError(wxT("SymGetLineFromAddr"));
return;
}
@@ -190,7 +190,7 @@ void wxStackFrame::OnGetParam()
// address, this is not a real error
if ( ::GetLastError() != ERROR_INVALID_ADDRESS )
{
wxDbgHelpDLL::LogError(_T("SymSetContext"));
wxDbgHelpDLL::LogError(wxT("SymSetContext"));
}
return;
@@ -205,7 +205,7 @@ void wxStackFrame::OnGetParam()
this // data to pass to it
) )
{
wxDbgHelpDLL::LogError(_T("SymEnumSymbols"));
wxDbgHelpDLL::LogError(wxT("SymEnumSymbols"));
}
}
@@ -221,7 +221,7 @@ void wxStackWalker::WalkFrom(const CONTEXT *pCtx, size_t skip, size_t maxDepth)
// don't log a user-visible error message here because the stack trace
// is only needed for debugging/diagnostics anyhow and we shouldn't
// confuse the user by complaining that we couldn't generate it
wxLogDebug(_T("Failed to get stack backtrace: %s"),
wxLogDebug(wxT("Failed to get stack backtrace: %s"),
wxDbgHelpDLL::GetErrorMessage().c_str());
return;
}
@@ -240,7 +240,7 @@ void wxStackWalker::WalkFrom(const CONTEXT *pCtx, size_t skip, size_t maxDepth)
TRUE // load symbols for all loaded modules
) )
{
wxDbgHelpDLL::LogError(_T("SymInitialize"));
wxDbgHelpDLL::LogError(wxT("SymInitialize"));
return;
}
@@ -284,7 +284,7 @@ void wxStackWalker::WalkFrom(const CONTEXT *pCtx, size_t skip, size_t maxDepth)
) )
{
if ( ::GetLastError() )
wxDbgHelpDLL::LogError(_T("StackWalk"));
wxDbgHelpDLL::LogError(wxT("StackWalk"));
break;
}
@@ -305,7 +305,7 @@ void wxStackWalker::WalkFrom(const CONTEXT *pCtx, size_t skip, size_t maxDepth)
#if 0
if ( !wxDbgHelpDLL::SymCleanup(hProcess) )
{
wxDbgHelpDLL::LogError(_T("SymCleanup"));
wxDbgHelpDLL::LogError(wxT("SymCleanup"));
}
#endif
}
@@ -322,7 +322,7 @@ void wxStackWalker::WalkFromException(size_t maxDepth)
extern EXCEPTION_POINTERS *wxGlobalSEInformation;
wxCHECK_RET( wxGlobalSEInformation,
_T("wxStackWalker::WalkFromException() can only be called from wxApp::OnFatalException()") );
wxT("wxStackWalker::WalkFromException() can only be called from wxApp::OnFatalException()") );
// don't skip any frames, the first one is where we crashed
WalkFrom(wxGlobalSEInformation, 0, maxDepth);