From: Vadim Zeitlin Date: Mon, 27 Sep 2010 12:55:28 +0000 (+0000) Subject: Replace some stray _T()s with wxT(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/490e22fdd0e19898c9dc4941ea58d8a81f07b2a1 Replace some stray _T()s with wxT(). We use wxT() exclusively now so replace some _T()s which crept in unnoticed. This also fixes compilation using Sun CC. See #12452. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fldlgcmn.cpp b/src/common/fldlgcmn.cpp index f4b4e0a778..c4118017a0 100644 --- a/src/common/fldlgcmn.cpp +++ b/src/common/fldlgcmn.cpp @@ -186,7 +186,7 @@ void wxFileDialogBase::SetPath(const wxString& path) wxString ext; wxFileName::SplitPath(path, &m_dir, &m_fileName, &ext); if ( !ext.empty() ) - m_fileName << _T('.') << ext; + m_fileName << wxT('.') << ext; m_path = path; } diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index c8f61f1ed9..8275b82b16 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -1692,7 +1692,7 @@ bool wxTextCtrl::GetStyle(long position, wxTextAttr& style) gint l = gtk_text_buffer_get_char_count( m_buffer ); wxCHECK_MSG( position >= 0 && position <= l, false, - _T("invalid range in wxTextCtrl::GetStyle") ); + wxT("invalid range in wxTextCtrl::GetStyle") ); GtkTextIter positioni; gtk_text_buffer_get_iter_at_offset(m_buffer, &positioni, position);