Reverted to old Mac Keyboard handling until new code is functional on allMac versions.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2008-11-06 20:19:00 +00:00
parent c6b9818f4a
commit ebbb485040

View File

@ -1287,7 +1287,7 @@ pascal OSStatus carbonKeyboardHandler(
// Matt: to Carbon. The kEventKeyModifierNumLockMask is only set when
// Matt: a numeric keypad key is pressed and does not correspond with
// Matt: the NumLock light in PowerBook keyboards.
#if 0
#if 1
if ( (sym >= FL_KP && sym <= FL_KP_Last) || !(sym & 0xff00) ||
sym == FL_Tab || sym == FL_Enter) {
buffer[0] = key;