X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937013e0fd914d4c42f9f5ec98da665986b93dfa..d6a658ff0cd928953efdaf1ea56ff04b9cf281c1:/src/gtk/checklst.cpp diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index 4a43959036..43ca4f09e3 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -35,6 +35,7 @@ static void gtk_checklist_toggled(GtkCellRendererToggle * WXUNUSED(renderer), listbox->GetId() ); new_event.SetEventObject( listbox ); new_event.SetInt( gtk_tree_path_get_indices(path)[0] ); + new_event.SetString( listbox->GetString( new_event.GetInt() )); gtk_tree_path_free(path); listbox->Check( new_event.GetInt(), !listbox->IsChecked(new_event.GetInt())); listbox->HandleWindowEvent( new_event ); @@ -87,7 +88,12 @@ void wxCheckListBox::DoCreateCheckList() gtk_tree_view_column_new_with_attributes( "", renderer, "active", 0, NULL ); - gtk_tree_view_column_set_fixed_width(column, 20); +#if wxUSE_LIBHILDON2 + gtk_tree_view_column_set_fixed_width(column, 40); +#else + gtk_tree_view_column_set_fixed_width(column, 22); +#endif // wxUSE_LIBHILDON2/!wxUSE_LIBHILDON2 + gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_clickable(column, TRUE);