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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user