]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
Don't suppress accelerators that include Enter just because a tree control is focused
[wxWidgets.git] / include / wx / listctrl.h
index 56be31e3324101943fa35866ed43408ae39bdb76..db57cf04df6738655ad7a938010135c51c34d95c 100644 (file)
@@ -22,7 +22,7 @@
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const wxChar) wxListCtrlNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxListCtrlNameStr[];
 
 // ----------------------------------------------------------------------------
 // include the wxListCtrl class declaration
@@ -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