X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fc0243835d4f6cbe586d85e3a6baa3c9c95fc7c..073c8fe92a5d6807a3107a115739f0eb69915cc5:/src/gtk1/combobox.cpp 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()