From a8b08fac692e2fa0ed1b3d8887d2bb4f96f99806 Mon Sep 17 00:00:00 2001 From: lazarus Date: Sat, 17 Aug 2002 23:40:16 +0000 Subject: [PATCH] MG: fixed key events and changed pixmap loading git-svn-id: trunk@1928 - --- lcl/interfaces/gtk/gtkcallback.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lcl/interfaces/gtk/gtkcallback.inc b/lcl/interfaces/gtk/gtkcallback.inc index 871708b991..8e839894b0 100644 --- a/lcl/interfaces/gtk/gtkcallback.inc +++ b/lcl/interfaces/gtk/gtkcallback.inc @@ -359,7 +359,7 @@ begin // send the message directly to the LCL // (Posting the message via queue // has the risk of getting out of sync with the gtk) - Result := DeliverMessage(Data, Msg) = 0; + Result := DeliverPostMessage(Data, Msg); end; GDK_KEY_PRESS: begin @@ -390,7 +390,7 @@ begin // send the message directly to the LCL // (Posting the message via queue // has the risk of getting out of sync with the gtk) - Result := DeliverMessage(Data, Msg) = 0; + Result := DeliverPostMessage(Data, Msg); if KeyCode <> $FFFF then begin @@ -401,7 +401,7 @@ begin // send the message directly to the LCL // (Posting the message via queue // has the risk of getting out of sync with the gtk) - Result := DeliverMessage(Data, Msg) = 0; + Result := DeliverPostMessage(Data, Msg); end; end; end; @@ -2120,6 +2120,9 @@ end; { ============================================================================= $Log$ + Revision 1.104 2002/08/22 12:30:36 lazarus + MG: fixed key events and changed pixmap loading + Revision 1.103 2002/08/22 12:25:00 lazarus MG: fixed mouse events