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

@@ -120,7 +120,7 @@ void wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS *ep)
switch ( wxGlobalSEHandler(ep) )
{
default:
wxFAIL_MSG( _T("unexpected wxGlobalSEHandler() return value") );
wxFAIL_MSG( wxT("unexpected wxGlobalSEHandler() return value") );
// fall through
case EXCEPTION_EXECUTE_HANDLER:
@@ -154,19 +154,19 @@ bool wxHandleFatalExceptions(bool doit)
wxChar fullname[MAX_PATH];
if ( !::GetTempPath(WXSIZEOF(fullname), fullname) )
{
wxLogLastError(_T("GetTempPath"));
wxLogLastError(wxT("GetTempPath"));
// when all else fails...
wxStrcpy(fullname, _T("c:\\"));
wxStrcpy(fullname, wxT("c:\\"));
}
// use PID and date to make the report file name more unique
wxString name = wxString::Format
(
_T("%s_%s_%lu.dmp"),
wxT("%s_%s_%lu.dmp"),
wxTheApp ? (const wxChar*)wxTheApp->GetAppDisplayName().c_str()
: _T("wxwindows"),
wxDateTime::Now().Format(_T("%Y%m%dT%H%M%S")).c_str(),
: wxT("wxwindows"),
wxDateTime::Now().Format(wxT("%Y%m%dT%H%M%S")).c_str(),
::GetCurrentProcessId()
);