fixed warnings

git-svn-id: trunk@8014 -
This commit is contained in:
vincents 2005-10-31 10:14:51 +00:00
parent dd93247ae6
commit 3e08307ac5
3 changed files with 5 additions and 5 deletions

View File

@ -563,7 +563,7 @@ begin
end; end;
function TClipboard.HasFormat(FormatID: TClipboardFormat): Boolean; function TClipboard.HasFormat(FormatID: TClipboardFormat): Boolean;
// ask interfaceobject // ask widgetset
var List: PClipboardFormat; var List: PClipboardFormat;
cnt, i: integer; cnt, i: integer;
begin begin
@ -701,7 +701,7 @@ begin
end; end;
function TClipboard.GetFormatCount: Integer; function TClipboard.GetFormatCount: Integer;
// ask interfaceobject // ask widgetset
var List: PClipboardFormat; var List: PClipboardFormat;
begin begin
//DebugLn('[TClipboard.GetFormatCount]'); //DebugLn('[TClipboard.GetFormatCount]');

View File

@ -214,13 +214,13 @@ end;
function EnumFontFamilies(DC: HDC; Family: Pchar; function EnumFontFamilies(DC: HDC; Family: Pchar;
EnumFontFamProc: FontEnumProc; LParam:Lparam):longint; EnumFontFamProc: FontEnumProc; LParam:Lparam):longint;
begin begin
WidgetSet.EnumFontFamilies(DC, Family, EnumFontFamProc, LParam); Result := WidgetSet.EnumFontFamilies(DC, Family, EnumFontFamProc, LParam);
end; end;
function EnumFontFamiliesEx(DC: HDC; lpLogFont: PLogFont; function EnumFontFamiliesEx(DC: HDC; lpLogFont: PLogFont;
Callback: FontEnumExProc; LParam: Lparam; flags: dword): longint; Callback: FontEnumExProc; LParam: Lparam; flags: dword): longint;
begin begin
WidgetSet.EnumFontFamiliesEx(DC, lpLogFont, Callback, LParam, flags); Result := WidgetSet.EnumFontFamiliesEx(DC, lpLogFont, Callback, LParam, flags);
end; end;
function Ellipse(DC: HDC; x1,y1,x2,y2: Integer): Boolean; function Ellipse(DC: HDC; x1,y1,x2,y2: Integer): Boolean;

View File

@ -5442,7 +5442,7 @@ begin
and (not (csLoading in ComponentState)) and (not (csLoading in ComponentState))
and (not CompareRect(@NewBounds,@FBoundsRealized)) then and (not CompareRect(@NewBounds,@FBoundsRealized)) then
begin begin
// the new bounds were not yet sent to the InterfaceObject -> send them // the new bounds were not yet sent to the WidgetSet -> send them
{$IFDEF CHECK_POSITION} {$IFDEF CHECK_POSITION}
//if csDesigning in ComponentState then //if csDesigning in ComponentState then
if AnsiCompareText(ClassName,CheckPostionClassName)=0 then if AnsiCompareText(ClassName,CheckPostionClassName)=0 then