From c2cde53a09d89e83f1556bd703b1164857cd0e0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Sun, 22 Nov 1998 19:48:02 +0000 Subject: [PATCH] Fixed return code of GetSelectionCount() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.45.2