From: Stefan Csomor Date: Thu, 26 Feb 2004 07:52:17 +0000 (+0000) Subject: adjusted LB_EXTENDED and LB_MULTIPLE to wxMSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/09322209d8464532bfcf7296943c49cf7b4d49fa?ds=sidebyside 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 --- 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 {