X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/614391dc087ca70b145e07c442815217f8aa3162..2b004197c8cea40b41632e86cf27857463f985b8:/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) }; // ----------------------------------------------------------------------------