Fixed Alt+Shift+letter as shortcut

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2010-02-20 14:06:36 +00:00
parent 0786bea02e
commit 191abba69a
1 changed files with 2 additions and 0 deletions

View File

@ -1182,6 +1182,8 @@ OSStatus cocoaKeyboardHandler(NSEvent *theEvent)
UniChar one;
CFStringGetCharacters((CFStringRef)sim, CFRangeMake(0, 1), &one);
sym = one;
// charactersIgnoringModifiers does'nt ignore shift, remove it when it's on
if(sym >= 'A' && sym <= 'Z') sym += 32;
}
Fl::e_keysym = Fl::e_original_keysym = sym;