codetools: added -dVerboseCTSave

git-svn-id: trunk@21093 -
This commit is contained in:
mattias 2009-08-03 21:28:27 +00:00
parent dc0c82f3e3
commit 2f8de86823
2 changed files with 6 additions and 2 deletions

View File

@ -696,7 +696,10 @@ var
TheFilename: String; TheFilename: String;
s: String; s: String;
begin begin
//DebugLn('TSourceLog.SaveToFile Self=',DbgS(Self)); {$IFDEF VerboseCTSave}
DebugLn('TSourceLog.SaveToFile Self=',DbgS(Self));
CTDumpStack;
{$ENDIF}
Result := True; Result := True;
try try
InvalidateFileStateCache; InvalidateFileStateCache;

View File

@ -1186,6 +1186,7 @@ var
ShiftState: TShiftState; ShiftState: TShiftState;
begin begin
Result := CallBackDefaultReturn; Result := CallBackDefaultReturn;
MousePositionValid:=false; MousePositionValid:=false;
{$IFDEF VerboseMouseBugfix} {$IFDEF VerboseMouseBugfix}
@ -1251,7 +1252,7 @@ end;
function GTKMotionNotifyAfter(widget:PGTKWidget; event: PGDKEventMotion; function GTKMotionNotifyAfter(widget:PGTKWidget; event: PGDKEventMotion;
data: gPointer): GBoolean; cdecl; data: gPointer): GBoolean; cdecl;
begin begin
Result := True; // stop event propagation Result := true; // stop event propagation
MousePositionValid := False; MousePositionValid := False;
{$IFDEF VerboseMouseBugfix} {$IFDEF VerboseMouseBugfix}