]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed return code of GetSelectionCount()
authorKarsten Ballüder <ballueder@usa.net>
Sun, 22 Nov 1998 19:48:02 +0000 (19:48 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Sun, 22 Nov 1998 19:48:02 +0000 (19:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index e9b724c66663539103f05fbf52b0617d5c309d65..95ede005018579bd9b6a2f965413d482d674e6c3 100644 (file)
@@ -1815,7 +1815,7 @@ int wxListMainWindow::GetSelectedItemCount( void )
     if (line->IsHilighted()) ret++;
     node = node->Next();
   }
-  return 0;
+  return ret;
 }
 
 void wxListMainWindow::SetMode( long mode )