]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checklst.cpp
Invoke default action if dclick event after <ENTER> not handled in wxListBox, added...
[wxWidgets.git] / src / gtk / checklst.cpp
index 1bfd53c2d97c39a6fe76dc68f9df248cc2b5fa13..4a43959036137881ef44fa202f4871f4a8a2f1fe 100644 (file)
@@ -24,7 +24,7 @@
 // "toggled"
 //-----------------------------------------------------------------------------
 extern "C" {
-static void gtk_checklist_toggled(GtkCellRendererToggle *renderer,
+static void gtk_checklist_toggled(GtkCellRendererToggle * WXUNUSED(renderer),
                                   gchar                 *stringpath,
                                   wxCheckListBox        *listbox)
 {
@@ -37,7 +37,7 @@ static void gtk_checklist_toggled(GtkCellRendererToggle *renderer,
     new_event.SetInt( gtk_tree_path_get_indices(path)[0] );
     gtk_tree_path_free(path);
     listbox->Check( new_event.GetInt(), !listbox->IsChecked(new_event.GetInt()));
-    listbox->GetEventHandler()->ProcessEvent( new_event );
+    listbox->HandleWindowEvent( new_event );
 }
 }