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

View File

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

View File

@ -5442,7 +5442,7 @@ begin
and (not (csLoading in ComponentState))
and (not CompareRect(@NewBounds,@FBoundsRealized)) then
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}
//if csDesigning in ComponentState then
if AnsiCompareText(ClassName,CheckPostionClassName)=0 then