From 09322209d8464532bfcf7296943c49cf7b4d49fa Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 26 Feb 2004 07:52:17 +0000 Subject: [PATCH] adjusted LB_EXTENDED and LB_MULTIPLE to wxMSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/listbox.cpp | 4 ++-- src/mac/listbox.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 4a623eb59b..b4dae1a156 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -286,11 +286,11 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, OptionBits options = 0; if ( style & wxLB_MULTIPLE ) { - options += lNoExtend ; + options += lExtendDrag + lUseSense ; } else if ( style & wxLB_EXTENDED ) { - options += lExtendDrag ; + // default behaviour } else { diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 4a623eb59b..b4dae1a156 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -286,11 +286,11 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, OptionBits options = 0; if ( style & wxLB_MULTIPLE ) { - options += lNoExtend ; + options += lExtendDrag + lUseSense ; } else if ( style & wxLB_EXTENDED ) { - options += lExtendDrag ; + // default behaviour } else { -- 2.50.0