X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e324a3fbfdac39f15ba0b96b97e1f3035ce8dd7..8dfef0c246fb5c741334ecc085aea56324bc0bf8:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 9a1c2100bb..6ced6dccaa 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -769,8 +769,8 @@ void wxComboBox::GetSelection( long* from, long* to ) const { if (IsEditable()) { -#ifdef __WXGTK20__ GtkEditable *editable = GTK_EDITABLE(GTK_COMBO(m_widget)->entry); +#ifdef __WXGTK20__ gint start, end; gtk_editable_get_selection_bounds(editable, & start, & end); *from = start;