]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
Fixed a notebook crash and added more tests to sample.
[wxWidgets.git] / src / gtk / listbox.cpp
index dc0d32c66b5ad1c927672087b89f7b204342397a..50145c9978f9646bbab6217f9368a216213ddb56 100644 (file)
@@ -457,6 +457,11 @@ void wxListBox::AppendCommon( const wxString &item )
                         (GtkSignalFunc)gtk_listbox_button_press_callback,
                         (gpointer) this );
 
+    gtk_signal_connect_after( GTK_OBJECT(list_item),
+                        "button_release_event",
+                        (GtkSignalFunc)gtk_listbox_button_release_callback,
+                        (gpointer) this );
+
     if (m_hasCheckBoxes)
     {
        gtk_signal_connect( GTK_OBJECT(list_item),