It's valid to pass wxNOT_FOUND to SetSelection in order to clear selections.
authorJulian Smart <julian@anthemion.co.uk>
Sun, 8 Oct 2006 15:54:40 +0000 (15:54 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 8 Oct 2006 15:54:40 +0000 (15:54 +0000)
commita277deba225b1cba386c9eb1042582e2e6248394
tree2a66306b0e292fa899fafb0d3c941c2ecfe5d84e
parent8adefcac72cb54d203752ccb16010378589159f2
It's valid to pass wxNOT_FOUND to SetSelection in order to clear selections.
Avoid assert and erroneous setting of -1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/listbox.cpp