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

@@ -235,7 +235,7 @@ void wxClassInfo::Register()
else
{
// guard againt reentrance once the global has been created
wxASSERT_MSG(++entry == 1, _T("wxClassInfo::Register() reentrance"));
wxASSERT_MSG(++entry == 1, wxT("wxClassInfo::Register() reentrance"));
classTable = sm_classTable;
}
@@ -247,7 +247,7 @@ void wxClassInfo::Register()
wxASSERT_MSG( classTable->Get(m_className) == NULL,
wxString::Format
(
_T("Class \"%s\" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)?"),
wxT("Class \"%s\" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)?"),
m_className
)
);
@@ -411,13 +411,13 @@ void wxObject::AllocExclusive()
//else: ref count is 1, we are exclusive owners of m_refData anyhow
wxASSERT_MSG( m_refData && m_refData->GetRefCount() == 1,
_T("wxObject::AllocExclusive() failed.") );
wxT("wxObject::AllocExclusive() failed.") );
}
wxObjectRefData *wxObject::CreateRefData() const
{
// if you use AllocExclusive() you must override this method
wxFAIL_MSG( _T("CreateRefData() must be overridden if called!") );
wxFAIL_MSG( wxT("CreateRefData() must be overridden if called!") );
return NULL;
}
@@ -426,7 +426,7 @@ wxObjectRefData *
wxObject::CloneRefData(const wxObjectRefData * WXUNUSED(data)) const
{
// if you use AllocExclusive() you must override this method
wxFAIL_MSG( _T("CloneRefData() must be overridden if called!") );
wxFAIL_MSG( wxT("CloneRefData() must be overridden if called!") );
return NULL;
}