PreCreation( parent, id, pos, size, style, name );
+#if wxUSE_VALIDATORS
SetValidator( validator );
+#endif // wxUSE_VALIDATORS
m_vScrollbarVisible = FALSE;
{
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;
}
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