}
// [de]select an item
- void Select(long n, bool on = true)
+ void Select(long n, bool on = TRUE)
{
SetItemState(n, on ? wxLIST_STATE_SELECTED : 0, wxLIST_STATE_SELECTED);
}
// return TRUE if the item is selected
bool IsSelected(long index)
{ return GetItemState(index, wxLIST_STATE_SELECTED) != 0; }
+private:
+ DECLARE_DYNAMIC_CLASS(wxListView)
};
// ----------------------------------------------------------------------------