From: Karsten Ballüder Date: Sun, 22 Nov 1998 19:48:02 +0000 (+0000) Subject: Fixed return code of GetSelectionCount() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c2cde53a09d89e83f1556bd703b1164857cd0e0f?ds=inline Fixed return code of GetSelectionCount() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index e9b724c666..95ede00501 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -1815,7 +1815,7 @@ int wxListMainWindow::GetSelectedItemCount( void ) if (line->IsHilighted()) ret++; node = node->Next(); } - return 0; + return ret; } void wxListMainWindow::SetMode( long mode )