qt: fix eating up keys (issue #0010841)

git-svn-id: trunk@14175 -
This commit is contained in:
paul 2008-02-18 05:31:18 +00:00
parent 63c73778f3
commit dcad0439fa

View File

@ -1089,7 +1089,7 @@ type
procedure SlotDesignControlPaint(Sender: QObjectH; Event: QEventH); cdecl;
procedure BringDesignerToFront;
procedure ResizeDesigner;
function GetContext: HDC; virtual;
function GetContext: HDC; override;
public
function DesignControlEventFilter(Sender: QObjectH; Event: QEventH): Boolean; cdecl;
function EventFilter(Sender: QObjectH; Event: QEventH): Boolean; cdecl; override;
@ -1808,6 +1808,7 @@ begin
{$ifdef VerboseQt}
WriteLn('handled!');
{$endif}
Result := KeyMsg.CharCode=VK_UNKNOWN;
Exit;
end;
end;