X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/614391dc087ca70b145e07c442815217f8aa3162..e8e4fa12f29224194fcf30236ec7640b3cac0bc0:/include/wx/listctrl.h diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index 6aa8a333d5..8526b2ef27 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -304,7 +304,7 @@ public: } // [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); } @@ -331,6 +331,8 @@ public: // return TRUE if the item is selected bool IsSelected(long index) { return GetItemState(index, wxLIST_STATE_SELECTED) != 0; } +private: + DECLARE_DYNAMIC_CLASS(wxListView) }; // ----------------------------------------------------------------------------