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

@@ -38,7 +38,7 @@ namespace wxMSWButton
// returns BS_MULTILINE if the label contains new lines or 0 otherwise
inline int GetMultilineStyle(const wxString& label)
{
return label.find(_T('\n')) == wxString::npos ? 0 : BS_MULTILINE;
return label.find(wxT('\n')) == wxString::npos ? 0 : BS_MULTILINE;
}
// update the style of the specified HWND to include or exclude BS_MULTILINE

View File

@@ -72,7 +72,7 @@ protected:
m_oldColFg = ::SetTextColor(m_hdc, colFg);
if ( m_oldColFg == CLR_INVALID )
{
wxLogLastError(_T("SetTextColor"));
wxLogLastError(wxT("SetTextColor"));
}
}
else
@@ -85,7 +85,7 @@ protected:
m_oldColBg = ::SetBkColor(m_hdc, colBg);
if ( m_oldColBg == CLR_INVALID )
{
wxLogLastError(_T("SetBkColor"));
wxLogLastError(wxT("SetBkColor"));
}
}
else
@@ -131,7 +131,7 @@ protected:
: OPAQUE);
if ( !m_oldMode )
{
wxLogLastError(_T("SetBkMode"));
wxLogLastError(wxT("SetBkMode"));
}
}

View File

@@ -36,7 +36,7 @@ inline const NONCLIENTMETRICS& GetNonClientMetrics()
#endif // WINVER >= 0x0600
{
// maybe we should initialize the struct with some defaults?
wxLogLastError(_T("SystemParametersInfo(SPI_GETNONCLIENTMETRICS)"));
wxLogLastError(wxT("SystemParametersInfo(SPI_GETNONCLIENTMETRICS)"));
}
}