X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd6412b6d07c0291a8927375abaa7c0f815e4a96..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/listctrl.h diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index 56be31e332..f8385b6ab5 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -84,7 +84,7 @@ public: { return GetNextSelected(-1); } // return true if the item is selected - bool IsSelected(long index) + bool IsSelected(long index) const { return GetItemState(index, wxLIST_STATE_SELECTED) != 0; } // columns