summaryrefslogtreecommitdiff
path: root/src/Fl_Browser_.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-11-05 17:54:16 +0000
committerManolo Gouy <Manolo>2015-11-05 17:54:16 +0000
commitda6dff26fc8b44f942c0ce687499872cb00f5d27 (patch)
tree1e29c5bc3ed0161c5069cba26959dc244a7b7e55 /src/Fl_Browser_.cxx
parentd7d57f9113d3fb2a1af31361dc1aaf8e80c2b035 (diff)
Changed Fl_Multi_Browser behaviour on the Mac OS platform so multiple selection
is done by cmd-click rather than ctrl-click, as is expected on this platform. Also, updated the documentation to describe the effects of ctrl-, shift- and cmd-clicks. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Browser_.cxx')
-rw-r--r--src/Fl_Browser_.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx
index caa3a0264..a85fc0153 100644
--- a/src/Fl_Browser_.cxx
+++ b/src/Fl_Browser_.cxx
@@ -813,7 +813,7 @@ J1:
} else {
void* l = find_item(my);
whichway = 1;
- if (Fl::event_state(FL_CTRL)) { // toggle selection:
+ if (Fl::event_state(FL_COMMAND)) { // toggle selection:
TOGGLE:
if (l) {
whichway = !item_selected(l);