]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / listctrl.h
index 56be31e3324101943fa35866ed43408ae39bdb76..f8385b6ab58216768232a3b64d74b521912167ca 100644 (file)
@@ -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