]> git.saurik.com Git - wxWidgets.git/commitdiff
Oops... compilation error just checked in fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Jan 1999 13:11:07 +0000 (13:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Jan 1999 13:11:07 +0000 (13:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/combobox.cpp
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()
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()