From: Vadim Zeitlin Date: Tue, 26 Jan 1999 13:11:07 +0000 (+0000) Subject: Oops... compilation error just checked in fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/073c8fe92a5d6807a3107a115739f0eb69915cc5?ds=inline Oops... compilation error just checked in fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 8877506e78..82037c716d 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -460,7 +460,7 @@ void wxComboBox::SetInsertionPoint( long pos ) wxCHECK_RET( m_widget != NULL, "invalid combobox" ); GtkWidget *entry = GTK_COMBO(m_widget)->entry; - gtk_entry_set_position( GTK_ENTRY(entry), (int)tmp ); + gtk_entry_set_position( GTK_ENTRY(entry), (int)pos ); } void wxComboBox::SetInsertionPointEnd() diff --git a/src/gtk1/combobox.cpp b/src/gtk1/combobox.cpp index 8877506e78..82037c716d 100644 --- a/src/gtk1/combobox.cpp +++ b/src/gtk1/combobox.cpp @@ -460,7 +460,7 @@ void wxComboBox::SetInsertionPoint( long pos ) wxCHECK_RET( m_widget != NULL, "invalid combobox" ); GtkWidget *entry = GTK_COMBO(m_widget)->entry; - gtk_entry_set_position( GTK_ENTRY(entry), (int)tmp ); + gtk_entry_set_position( GTK_ENTRY(entry), (int)pos ); } void wxComboBox::SetInsertionPointEnd()