X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5027818a42043052ac375b1a0ba30fac491ddc4..refs/heads/master:/src/gtk/checklst.cpp diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index e082643422..0a9d31840a 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -3,7 +3,6 @@ // Purpose: // Author: Robert Roebling // Modified by: Ryan Norton (Native GTK2.0+ checklist) -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,10 +13,7 @@ #if wxUSE_CHECKLISTBOX #include "wx/checklst.h" -#include "wx/gtk/private.h" -#include "wx/gtk/treeentry_gtk.h" -#include #include //----------------------------------------------------------------------------- @@ -31,7 +27,7 @@ static void gtk_checklist_toggled(GtkCellRendererToggle * WXUNUSED(renderer), wxCHECK_RET( listbox->m_treeview != NULL, wxT("invalid listbox") ); GtkTreePath* path = gtk_tree_path_new_from_string(stringpath); - wxCommandEvent new_event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, + wxCommandEvent new_event( wxEVT_CHECKLISTBOX, listbox->GetId() ); new_event.SetEventObject( listbox ); new_event.SetInt( gtk_tree_path_get_indices(path)[0] ); @@ -46,7 +42,7 @@ static void gtk_checklist_toggled(GtkCellRendererToggle * WXUNUSED(renderer), // wxCheckListBox //----------------------------------------------------------------------------- -wxCheckListBox::wxCheckListBox() : wxListBox() +wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase() { m_hasCheckBoxes = true; }