]> git.saurik.com Git - wxWidgets.git/commitdiff
[ 1541434 ] wxListView::IsSelected should be const
authorRobert Roebling <robert@roebling.de>
Tue, 26 Sep 2006 09:20:50 +0000 (09:20 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 26 Sep 2006 09:20:50 +0000 (09:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/listview.tex
include/wx/listctrl.h

index e19a0b512b133843fc18741252451bc3c4b53df3..7758ebec2da45789452d06ad284ca1f0c5ac002c 100644 (file)
@@ -97,7 +97,7 @@ Returns the next selected item or $-1$ if there are no more of them.
 
 \membersection{wxListView::IsSelected}\label{wxlistviewisselected}
 
-\func{bool}{IsSelected}{\param{long }{index}}
+\constfunc{bool}{IsSelected}{\param{long }{index}}
 
 Returns {\tt true} if the item with the given {\it index} is selected, 
 {\tt false} otherwise.
index f9b4629f211a3a77f1de2cf1d5ca6583f615c4e3..d92e26d7b00f539a7a36015c4ff003d1033d6d31 100644 (file)
@@ -86,7 +86,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