// wxCheckListBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox,wxListBox)
-
wxCheckListBox::wxCheckListBox() : wxListBox()
{
m_hasCheckBoxes = true;
gtk_tree_view_column_new_with_attributes( "", renderer,
"active", 0,
NULL );
+#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);
0, //column
&value);
- return g_value_get_boolean(&value) == TRUE ? true : false;
+ return g_value_get_boolean(&value) != 0;
}
void wxCheckListBox::Check(unsigned int index, bool check)