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
This commit is contained in:
Vadim Zeitlin
2010-09-27 12:55:28 +00:00
parent 8cb2c49f7d
commit 490e22fdd0
2 changed files with 2 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ void wxFileDialogBase::SetPath(const wxString& path)
wxString ext; wxString ext;
wxFileName::SplitPath(path, &m_dir, &m_fileName, &ext); wxFileName::SplitPath(path, &m_dir, &m_fileName, &ext);
if ( !ext.empty() ) if ( !ext.empty() )
m_fileName << _T('.') << ext; m_fileName << wxT('.') << ext;
m_path = path; m_path = path;
} }

View File

@@ -1692,7 +1692,7 @@ bool wxTextCtrl::GetStyle(long position, wxTextAttr& style)
gint l = gtk_text_buffer_get_char_count( m_buffer ); gint l = gtk_text_buffer_get_char_count( m_buffer );
wxCHECK_MSG( position >= 0 && position <= l, false, wxCHECK_MSG( position >= 0 && position <= l, false,
_T("invalid range in wxTextCtrl::GetStyle") ); wxT("invalid range in wxTextCtrl::GetStyle") );
GtkTextIter positioni; GtkTextIter positioni;
gtk_text_buffer_get_iter_at_offset(m_buffer, &positioni, position); gtk_text_buffer_get_iter_at_offset(m_buffer, &positioni, position);