X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/470402b9966ec0c9b0011193cb82bd6baa4a98c5..654c223bc7c5457e407ff7d127a8129c821b07e4:/src/gtk/checklst.cpp diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index 1bfd53c2d9..4a43959036 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -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 ); } }