From eb49696a40e8589ea45254bdf971e9243c71907c Mon Sep 17 00:00:00 2001 From: juha Date: Sun, 13 Mar 2011 20:10:25 +0000 Subject: [PATCH] Windows: fix compilation with DebugLn. git-svn-id: trunk@29823 - --- lcl/interfaces/win32/win32callback.inc | 2 +- lcl/interfaces/win32/win32winapi.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lcl/interfaces/win32/win32callback.inc b/lcl/interfaces/win32/win32callback.inc index 960fe50e2e..7d3855880c 100644 --- a/lcl/interfaces/win32/win32callback.inc +++ b/lcl/interfaces/win32/win32callback.inc @@ -45,7 +45,7 @@ begin if PtrUInt(Str) <= $FFFF then exit; // global atom handle //DebugLn('Trace:PropEnumProc - Start'); //DebugLn(Format('Trace:PropEnumProc - Property %S (with value 0x%X) from window 0x%X removed', - [String(Str), Data, Window])); + // [String(Str), Data, Window])); RemoveProp(Window, Str); Result := True; //DebugLn('Trace:PropEnumProc - Exit'); diff --git a/lcl/interfaces/win32/win32winapi.inc b/lcl/interfaces/win32/win32winapi.inc index f1ecbcb416..4377c0a62e 100644 --- a/lcl/interfaces/win32/win32winapi.inc +++ b/lcl/interfaces/win32/win32winapi.inc @@ -1127,7 +1127,7 @@ var {$endif} begin //DebugLn(Format('trace:> [TWin32WidgetSet.DrawText] DC:0x%x, Str:''%s'', Count: %d, Rect = %d,%d,%d,%d, Flags:%d', - [DC, Str, Count, Rect.Left, Rect.Top, Rect.Right, Rect.Bottom, Flags])); + // [DC, Str, Count, Rect.Left, Rect.Top, Rect.Right, Rect.Bottom, Flags])); {$ifdef WindowsUnicodeSupport} // use temp buffer, if count is set, there might be no null terminator @@ -1154,7 +1154,7 @@ begin {$endif} //DebugLn(Format('trace:> [TWin32WidgetSet.DrawText] DC:0x%x, Str:''%s'', Count: %d, Rect = %d,%d,%d,%d, Flags:%d', - [DC, Str, Count, Rect.Left, Rect.Top, Rect.Right, Rect.Bottom, Flags])); + // [DC, Str, Count, Rect.Left, Rect.Top, Rect.Right, Rect.Bottom, Flags])); end; {------------------------------------------------------------------------------