From: Kevin Ollivier Date: Thu, 9 Nov 2006 20:12:49 +0000 (+0000) Subject: Allow selection items to be toggled using CMD key when the listbox style is wxLB_EXTE... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/464b15e17d983e96152a126708cc60b36eb9914a Allow selection items to be toggled using CMD key when the listbox style is wxLB_EXTENDED. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 1a50bd9dc7..a837c5f17d 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -537,7 +537,7 @@ wxMacDataBrowserListControl::wxMacDataBrowserListControl( wxWindow *peer, const } else if ( style & wxLB_EXTENDED ) { - // default behaviour + options |= kDataBrowserCmdTogglesSelection; } else {