]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/combobox.cpp
Added distribution script
[wxWidgets.git] / src / gtk1 / combobox.cpp
index 8877506e784eb9f18448e837a16e6aab1205da4e..82037c716dac14a071826eaf88b5d1a7e9abed65 100644 (file)
@@ -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()