IDE: fix regression: make code context hint window clickable

git-svn-id: trunk@52561 -
This commit is contained in:
ondrej 2016-06-22 17:04:18 +00:00
parent 36b72c350c
commit ec0a83c728

View File

@ -41,7 +41,7 @@ uses
Graphics, Dialogs, LCLType, LCLIntf, Themes, Buttons, SynEdit, SynEditKeyCmds,
BasicCodeTools, KeywordFuncLists, LinkScanner, CodeCache, FindDeclarationTool,
IdentCompletionTool, CodeTree, CodeAtom, PascalParserTool, CodeToolManager,
SrcEditorIntf, LazIDEIntf, IDEProcs, LazarusIDEStrConsts;
SrcEditorIntf, LazIDEIntf, IDEProcs, LazarusIDEStrConsts, LMessages;
type
@ -89,6 +89,7 @@ type
protected
procedure Notification(AComponent: TComponent; Operation: TOperation);
override;
procedure WMNCHitTest(var Message: TLMessage); message LM_NCHITTEST;
public
constructor Create(TheOwner: TComponent); override;
destructor Destroy; override;
@ -367,6 +368,11 @@ begin
end;
end;
procedure TCodeContextFrm.WMNCHitTest(var Message: TLMessage);
begin
Message.Result := HTCLIENT;
end;
procedure TCodeContextFrm.CreateHints(const CodeContexts: TCodeContextInfo);
function FindBaseType(Tool: TFindDeclarationTool; Node: TCodeTreeNode;