Don't duplicate event sending code in wxGTK wxListBox.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Oct 2010 23:22:00 +0000 (23:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Oct 2010 23:22:00 +0000 (23:22 +0000)
commit09e744f55267ee17225f1e25f4fb26f4d8927781
treeaa3ee65c8f016867e2ef5fc0f725723ed8082c0a
parent24ee1bef74a8f403ad3df207edd9d656648c4da5
Don't duplicate event sending code in wxGTK wxListBox.

Reuse wxListBoxBase::SetEvent() instead of duplicating its code in wxGTK.

Also get rid of the code checking for selection of the item with index -1:
this can't happen any more since r65865 which changed GTK_SELECTION_SINGLE to
GTK_SELECTION_BROWSE.

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