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