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

@@ -144,7 +144,7 @@ bool wxMSWTimerImpl::Start(int milliseconds, bool oneShot)
void wxMSWTimerImpl::Stop()
{
wxASSERT_MSG( m_id, _T("should be running") );
wxASSERT_MSG( m_id, wxT("should be running") );
::KillTimer(wxTimerHiddenWindowModule::GetHWND(), m_id);
@@ -159,7 +159,7 @@ void wxMSWTimerImpl::Stop()
void wxProcessTimer(wxMSWTimerImpl& timer)
{
wxASSERT_MSG( timer.IsRunning(), _T("bogus timer id") );
wxASSERT_MSG( timer.IsRunning(), wxT("bogus timer id") );
if ( timer.IsOneShot() )
timer.Stop();
@@ -211,7 +211,7 @@ void wxTimerHiddenWindowModule::OnExit()
{
if ( !::DestroyWindow(ms_hwnd) )
{
wxLogLastError(_T("DestroyWindow(wxTimerHiddenWindow)"));
wxLogLastError(wxT("DestroyWindow(wxTimerHiddenWindow)"));
}
ms_hwnd = NULL;
@@ -221,7 +221,7 @@ void wxTimerHiddenWindowModule::OnExit()
{
if ( !::UnregisterClass(ms_className, wxGetInstance()) )
{
wxLogLastError(_T("UnregisterClass(\"wxTimerHiddenWindow\")"));
wxLogLastError(wxT("UnregisterClass(\"wxTimerHiddenWindow\")"));
}
ms_className = NULL;
@@ -231,7 +231,7 @@ void wxTimerHiddenWindowModule::OnExit()
/* static */
HWND wxTimerHiddenWindowModule::GetHWND()
{
static const wxChar *HIDDEN_WINDOW_CLASS = _T("wxTimerHiddenWindow");
static const wxChar *HIDDEN_WINDOW_CLASS = wxT("wxTimerHiddenWindow");
if ( !ms_hwnd )
{
ms_hwnd = wxCreateHiddenWindow(&ms_className, HIDDEN_WINDOW_CLASS,