changeset 5039:fc8e8676d9a2

RT-23208: Mac: Multi-select ListViews do not work in applet on Mac OS Reviewed-by: anthony, zvegintsev
author Petr Pchelko <petrpchelko@gmail.com>
date Wed, 11 Sep 2013 11:30:40 +0400
parents 71d0d1fde706
children 5417a0f03b0f
files modules/graphics/src/main/native-glass/mac/GlassEmbeddedWindow+Npapi.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-glass/mac/GlassEmbeddedWindow+Npapi.m	Wed Sep 11 11:25:58 2013 +0400
+++ b/modules/graphics/src/main/native-glass/mac/GlassEmbeddedWindow+Npapi.m	Wed Sep 11 11:30:40 2013 +0400
@@ -162,7 +162,7 @@
                 NSPoint eventPoint = NSMakePoint((CGFloat)jPluginX, (CGFloat)windowY);
                 event = [NSEvent mouseEventWithType:type
                                            location:eventPoint
-                                      modifierFlags:0
+                                      modifierFlags:(NSUInteger)jModifierFlags
                                           timestamp:[NSDate timeIntervalSinceReferenceDate]
                                        windowNumber:[window->child windowNumber]
                                             context:nil