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:
@@ -76,7 +76,7 @@
|
||||
#include "wx/datetime.h"
|
||||
|
||||
// the suffix we add to the button to show that the dialog can be expanded
|
||||
#define EXPAND_SUFFIX _T(" >>")
|
||||
#define EXPAND_SUFFIX wxT(" >>")
|
||||
|
||||
#define CAN_SAVE_FILES (wxUSE_FILE && wxUSE_FILEDLG)
|
||||
|
||||
@@ -96,7 +96,7 @@ static wxString TimeStamp(const wxString& format, time_t t)
|
||||
if ( !wxStrftime(buf, WXSIZEOF(buf), format, wxLocaltime_r(&t, &tm)) )
|
||||
{
|
||||
// buffer is too small?
|
||||
wxFAIL_MSG(_T("strftime() failed"));
|
||||
wxFAIL_MSG(wxT("strftime() failed"));
|
||||
}
|
||||
return wxString(buf);
|
||||
#else // !wxUSE_DATETIME
|
||||
@@ -807,10 +807,10 @@ void wxLogDialog::CreateDetailsControls(wxWindow *parent)
|
||||
|
||||
// no need to translate these strings as they're not shown to the
|
||||
// user anyhow (we use wxLC_NO_HEADER style)
|
||||
m_listctrl->InsertColumn(0, _T("Message"));
|
||||
m_listctrl->InsertColumn(0, wxT("Message"));
|
||||
|
||||
if (hasTimeStamp)
|
||||
m_listctrl->InsertColumn(1, _T("Time"));
|
||||
m_listctrl->InsertColumn(1, wxT("Time"));
|
||||
|
||||
// prepare the imagelist
|
||||
static const int ICON_SIZE = 16;
|
||||
|
||||
Reference in New Issue
Block a user