When the shift key is down, charactersIgnoringModifiers should be uppercase

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29883 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2010-03-08 17:54:00 +00:00
parent 5253105797
commit 908e8b663e
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2010-03-08 Doug Simons <doug.simons@testplant.com>
* Source/win32/WIN32Server.m: When the shift key is down,
charactersIgnoringModifiers should be uppercase (this is
consistent with Cocoa and the x11 backend.
2010-03-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoGState.m: Only use calls for

View file

@ -1,4 +1,4 @@
/* WIN32Server - Implements window handling for MSWindows
u/* WIN32Server - Implements window handling for MSWindows
Copyright (C) 2002, 2005 Free Software Foundation, Inc.
@ -1808,7 +1808,9 @@ process_key_event(WIN32Server *svr, HWND hwnd, WPARAM wParam, LPARAM lParam,
ukeys = [NSString stringWithCharacters: unicode length: result];
}
if (eventFlags & NSShiftKeyMask)
ukeys = [ukeys uppercaseString];
event = [NSEvent keyEventWithType: eventType
location: eventLocation
modifierFlags: eventFlags