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);