]> git.saurik.com Git - wxWidgets.git/commitdiff
Replace some stray _T()s with wxT().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Sep 2010 12:55:28 +0000 (12:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Sep 2010 12:55:28 +0000 (12:55 +0000)
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

src/common/fldlgcmn.cpp
src/gtk/textctrl.cpp

index f4b4e0a7782e84d9a627547d5ebe8772701a4c20..c4118017a076e32701d43efa49c31c7c81b3de65 100644 (file)
@@ -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;
 }
 
index c8f61f1ed92cfb6b3c34627ea46781e3cbc52f88..8275b82b1640b82235503c0901186a723178be2c 100644 (file)
@@ -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);