Use GTK_SELECTION_BROWSE instead of SINGLE for wxListBox in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Oct 2010 16:33:29 +0000 (16:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Oct 2010 16:33:29 +0000 (16:33 +0000)
commit1d91908363c58e2c1ad38c550e6def0cca5a2e86
tree72430d0650be30a6ecd86911735a71831de66620
parenta0fe77034b8b65a2f9be0f511f19560ee8804740
Use GTK_SELECTION_BROWSE instead of SINGLE for wxListBox in wxGTK.

A single-selection listbox must always have a selected item, at least after
initial selection is done, i.e. its selected item can't be deselected. This
behaviour corresponds to GTK_SELECTION_BROWSE style in GTK+.

Closes #2549.

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