-#else //NON-NATIVE
-
-bool wxCheckListBox::IsChecked( int index ) const
-{
- wxCHECK_MSG( m_treeview != NULL, false, wxT("invalid checklistbox") );
-
- GtkTreeEntry* entry = GtkGetEntry(index);
- if (entry)
- {
- wxString str( wxGTK_CONV_BACK( gtk_tree_entry_get_label(entry) ) );
-
- return str.GetChar(1) == wxCHECKLBOX_CHECKED;
- }
-
- wxFAIL_MSG(wxT("wrong checklistbox index"));
- return false;
-}
-
-void wxCheckListBox::Check( int index, bool check )
-{
- wxCHECK_RET( m_treeview != NULL, wxT("invalid checklistbox") );
-
- GtkTreeEntry* entry = GtkGetEntry(index);
- if (entry)
- {
- wxString str( wxGTK_CONV_BACK( gtk_tree_entry_get_label(entry) ) );
-
- if (check == (str.GetChar(1) == wxCHECKLBOX_CHECKED))
- return;
-
- str.SetChar( 1, check ? wxCHECKLBOX_CHECKED : wxCHECKLBOX_UNCHECKED );
-
- gtk_tree_entry_set_label( entry, wxGTK_CONV( str ) );
-
- return;
- }
-
- wxFAIL_MSG(wxT("wrong checklistbox index"));
-}
-
-int wxCheckListBox::GetItemHeight() const
-{
- // FIXME
- return 22;
-}
-
-#endif //wxUSE_NATIVEGTKCHECKLIST
-