]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/textctrl.cpp
standard icons for msg boxes
[wxWidgets.git] / src / gtk1 / textctrl.cpp
index 4d206d3c6d0791d9d407cb9ef3a3c37f64862e14..fb10ca0a249fc195e8497ba14052fb18b7fe34ea 100644 (file)
@@ -301,12 +301,12 @@ wxString wxTextCtrl::GetValue() const
     {
         gint len = gtk_text_get_length( GTK_TEXT(m_text) );
         char *text = gtk_editable_get_chars( GTK_EDITABLE(m_text), 0, len );
-        tmp = wxString(text,*wxConv_current);
+        tmp = wxString(text,*wxConvCurrent);
         g_free( text );
     }
     else
     {
-        tmp = wxString(gtk_entry_get_text( GTK_ENTRY(m_text) ),*wxConv_current);
+        tmp = wxString(gtk_entry_get_text( GTK_ENTRY(m_text) ),*wxConvCurrent);
     }
     return tmp;
 }
@@ -695,9 +695,9 @@ void wxTextCtrl::SetSelection( long from, long to )
     gtk_editable_select_region( GTK_EDITABLE(m_text), (gint)from, (gint)to );
 }
 
-void wxTextCtrl::ShowPosition( long pos )
+void wxTextCtrl::ShowPosition( long WXUNUSED(pos) )
 {
-    SetInsertionPoint( pos );
+//    SetInsertionPoint( pos );
 }
 
 long wxTextCtrl::GetInsertionPoint() const