mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 07:32:37 +02:00
LCL Carbon: finally fixed #0011974: Selected keys not working - accidentally committed debugging version
git-svn-id: trunk@16296 -
This commit is contained in:
parent
9c33a42cce
commit
df3f54066e
@ -475,14 +475,12 @@ const
|
||||
exit;
|
||||
end;
|
||||
|
||||
{$DEFINE VerboseKeyboard}
|
||||
// get untranslated key (key without modifiers)
|
||||
OSError(KLGetCurrentKeyboardLayout(KeyboardLayout), SName, 'KLGetCurrentKeyboardLayout');
|
||||
//OSError(KLGetKeyboardLayoutProperty(KeyboardLayout, kKLuchrData, Layout), SName, 'KLGetKeyboardLayoutProperty');
|
||||
OSError(KLGetKeyboardLayoutProperty(KeyboardLayout, kKLKCHRData, Layout), SName, 'KLGetKeyboardLayoutProperty');
|
||||
{$IFDEF VerboseKeyboard}
|
||||
DebugLn('[Keyboard layout] KCHR layout = ', DbgS(Layout));
|
||||
{$ENDIF}
|
||||
OSError(KLGetKeyboardLayoutProperty(KeyboardLayout, kKLuchrData, Layout), SName, 'KLGetKeyboardLayoutProperty');
|
||||
{$IFDEF VerboseKeyboard}
|
||||
DebugLn('[Keyboard layout] UCHR layout = ', DbgS(Layout));
|
||||
{$ENDIF}
|
||||
|
||||
TextLen:=0;
|
||||
DeadKeys:=0;
|
||||
|
Loading…
Reference in New Issue
Block a user