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:
@@ -167,14 +167,14 @@ void HyperlinkWidgetsPage::CreateContent()
|
||||
|
||||
static const wxString alignments[] =
|
||||
{
|
||||
_T("&left"),
|
||||
_T("¢re"),
|
||||
_T("&right")
|
||||
wxT("&left"),
|
||||
wxT("¢re"),
|
||||
wxT("&right")
|
||||
};
|
||||
wxCOMPILE_TIME_ASSERT( WXSIZEOF(alignments) == Align_Max,
|
||||
AlignMismatch );
|
||||
|
||||
m_radioAlignMode = new wxRadioBox(this, wxID_ANY, _T("alignment"),
|
||||
m_radioAlignMode = new wxRadioBox(this, wxID_ANY, wxT("alignment"),
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
WXSIZEOF(alignments), alignments);
|
||||
m_radioAlignMode->SetSelection(1); // start with "centre" selected since
|
||||
@@ -304,7 +304,7 @@ void HyperlinkWidgetsPage::OnAlignment(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
default:
|
||||
case Align_Max:
|
||||
wxFAIL_MSG( _T("unknown alignment") );
|
||||
wxFAIL_MSG( wxT("unknown alignment") );
|
||||
// fall through
|
||||
|
||||
case Align_Left:
|
||||
|
Reference in New Issue
Block a user