Committing in .

fix for gtk-1.x

 Modified Files:
 	wxWidgets/src/gtk/combobox.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen 2004-12-15 07:42:31 +00:00
parent b519803b43
commit 41eb6d76b0
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;