mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 18:22:54 +02:00
Gtk3: debug for keypresses.
This commit is contained in:
parent
2feb873d51
commit
597fe6af9d
@ -2170,6 +2170,11 @@ begin
|
|||||||
|
|
||||||
// this is just for testing purposes.
|
// this is just for testing purposes.
|
||||||
ACharCode := GdkKeyToLCLKey(KeyValue);
|
ACharCode := GdkKeyToLCLKey(KeyValue);
|
||||||
|
|
||||||
|
{$IFDEF GTK3DEBUGKEYPRESS}
|
||||||
|
writeln('==== ACharCode=',ACharCode,' KeyValue=',KeyValue);
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
if KeyValue > VK_UNDEFINED then
|
if KeyValue > VK_UNDEFINED then
|
||||||
KeyValue := ACharCode; // VK_UNKNOWN;
|
KeyValue := ACharCode; // VK_UNKNOWN;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user