Applied patch to reenable single selection mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
33fe475aeb
commit
2fe417e4c4
@ -3040,7 +3040,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
|
|||||||
|
|
||||||
size_t oldCurrent = m_current;
|
size_t oldCurrent = m_current;
|
||||||
bool cmdModifierDown = event.CmdDown();
|
bool cmdModifierDown = event.CmdDown();
|
||||||
if ( !(cmdModifierDown || event.ShiftDown()) )
|
if ( IsSingleSel() || !(cmdModifierDown || event.ShiftDown()) )
|
||||||
{
|
{
|
||||||
if( IsSingleSel() || !IsHighlighted(current) )
|
if( IsSingleSel() || !IsHighlighted(current) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user