Update old selections after clearing wxListBox in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:28 +0000 (11:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:28 +0000 (11:01 +0000)
commitfb040ec186f3ee72cd1cf6a74bcce50aee00b2f6
tree692403ec78797ea28c2a6bb69a815c17161fe7fa
parent80a4659776396941bbf7b08615dd60d35dbc47b5
Update old selections after clearing wxListBox in wxGTK.

Don't keep stale selected item indices in m_oldSelections after clearing the
listbox, call UpdateOldSelections() from DoClear() in wxGTK just as we do in
the other ports.

Closes #14359.

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