]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
fixing iterator comparison
[wxWidgets.git] / src / gtk / textctrl.cpp
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);