]> git.saurik.com Git - wxWidgets.git/commitdiff
Allow selection items to be toggled using CMD key when the listbox style is wxLB_EXTE...
authorKevin Ollivier <kevino@theolliviers.com>
Thu, 9 Nov 2006 20:12:49 +0000 (20:12 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Thu, 9 Nov 2006 20:12:49 +0000 (20:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listbox.cpp

index 1a50bd9dc7701a31f60924664e83f7475997a00b..a837c5f17df267116e014192f66e9e562000fe34 100644 (file)
@@ -537,7 +537,7 @@ wxMacDataBrowserListControl::wxMacDataBrowserListControl( wxWindow *peer, const
     }
     else if ( style & wxLB_EXTENDED )
     {
     }
     else if ( style & wxLB_EXTENDED )
     {
-        // default behaviour
+        options |= kDataBrowserCmdTogglesSelection;
     }
     else
     {
     }
     else
     {