]> git.saurik.com Git - wxWidgets.git/commitdiff
Use connect_signal_after for list events. This should
authorRobert Roebling <robert@roebling.de>
Sun, 16 Jan 2005 16:54:50 +0000 (16:54 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 16 Jan 2005 16:54:50 +0000 (16:54 +0000)
    probably be done for all native control command events.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/listbox.cpp
src/gtk1/listbox.cpp

index d8810ddae08a9a1170624ff9a3d1f597483d0dd9..ebfc45da5dd1903b03b0ca4744f2b1eb253ee663 100644 (file)
@@ -649,11 +649,11 @@ void wxListBox::GtkAddItem( const wxString &item, int pos )
     else
         gtk_list_insert_items( GTK_LIST (m_list), gitem_list, pos );
 
-    gtk_signal_connect( GTK_OBJECT(list_item), "select",
+    gtk_signal_connect_after( GTK_OBJECT(list_item), "select",
       GTK_SIGNAL_FUNC(gtk_listitem_select_callback), (gpointer)this );
 
     if (HasFlag(wxLB_MULTIPLE) || HasFlag(wxLB_EXTENDED))
-        gtk_signal_connect( GTK_OBJECT(list_item), "deselect",
+        gtk_signal_connect_after( GTK_OBJECT(list_item), "deselect",
           GTK_SIGNAL_FUNC(gtk_listitem_deselect_callback), (gpointer)this );
 
     gtk_signal_connect( GTK_OBJECT(list_item),
index d8810ddae08a9a1170624ff9a3d1f597483d0dd9..ebfc45da5dd1903b03b0ca4744f2b1eb253ee663 100644 (file)
@@ -649,11 +649,11 @@ void wxListBox::GtkAddItem( const wxString &item, int pos )
     else
         gtk_list_insert_items( GTK_LIST (m_list), gitem_list, pos );
 
-    gtk_signal_connect( GTK_OBJECT(list_item), "select",
+    gtk_signal_connect_after( GTK_OBJECT(list_item), "select",
       GTK_SIGNAL_FUNC(gtk_listitem_select_callback), (gpointer)this );
 
     if (HasFlag(wxLB_MULTIPLE) || HasFlag(wxLB_EXTENDED))
-        gtk_signal_connect( GTK_OBJECT(list_item), "deselect",
+        gtk_signal_connect_after( GTK_OBJECT(list_item), "deselect",
           GTK_SIGNAL_FUNC(gtk_listitem_deselect_callback), (gpointer)this );
 
     gtk_signal_connect( GTK_OBJECT(list_item),