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

@@ -69,7 +69,7 @@ wxStatusBarBase::~wxStatusBarBase()
void wxStatusBarBase::SetFieldsCount(int number, const int *widths)
{
wxCHECK_RET( number > 0, _T("invalid field number in SetFieldsCount") );
wxCHECK_RET( number > 0, wxT("invalid field number in SetFieldsCount") );
if ( (size_t)number > m_panes.GetCount() )
{
@@ -93,7 +93,7 @@ void wxStatusBarBase::SetFieldsCount(int number, const int *widths)
void wxStatusBarBase::SetStatusWidths(int WXUNUSED_UNLESS_DEBUG(n),
const int widths[])
{
wxASSERT_MSG( (size_t)n == m_panes.GetCount(), _T("field number mismatch") );
wxASSERT_MSG( (size_t)n == m_panes.GetCount(), wxT("field number mismatch") );
if (widths == NULL)
{
@@ -116,9 +116,9 @@ void wxStatusBarBase::SetStatusWidths(int WXUNUSED_UNLESS_DEBUG(n),
void wxStatusBarBase::SetStatusStyles(int WXUNUSED_UNLESS_DEBUG(n),
const int styles[])
{
wxCHECK_RET( styles, _T("NULL pointer in SetStatusStyles") );
wxCHECK_RET( styles, wxT("NULL pointer in SetStatusStyles") );
wxASSERT_MSG( (size_t)n == m_panes.GetCount(), _T("field number mismatch") );
wxASSERT_MSG( (size_t)n == m_panes.GetCount(), wxT("field number mismatch") );
for ( size_t i = 0; i < m_panes.GetCount(); i++ )
m_panes[i].m_nStyle = styles[i];