* Properly close debug code in WMLButtonDown

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2012-12-31 13:51:43 +00:00
parent 6e2a018f82
commit 04ddb7e465

View File

@ -16207,8 +16207,10 @@ begin
// get information about the hit
GetHitTestInfoAt(Message.XPos, Message.YPos, True, HitInfo);
{$ifdef DEBUG_VTV}
if HitInfo.HitNode <> nil then
{$ifdef DEBUG_VTV}Logger.Send([lcPaintHeader, lcMouseEvent],'WMLButtonDown - HitNode.Index', HitInfo.HitNode^.Index);{$endif}
Logger.Send([lcPaintHeader, lcMouseEvent],'WMLButtonDown - HitNode.Index', HitInfo.HitNode^.Index);
{$endif}
HandleMouseDown(Message, HitInfo);
{$ifdef DEBUG_VTV}Logger.ExitMethod([lcMessages],'WMLButtonDown');{$endif}
end;