diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 5db3bae33..fec06c066 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2468,6 +2468,9 @@ static FLTextInputContext* fltextinputcontext_instance = nil; Fl::handle(FL_KEYUP,window); fl_unlock_function(); } +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 + typedef NSUInteger NSEventModifierFlags; +#endif - (void)flagsChanged:(NSEvent *)theEvent { //NSLog(@"flagsChanged: "); fl_lock_function(); |
