gtk2: ifdef SetCW, ResetCW only for windows

git-svn-id: trunk@15388 -
This commit is contained in:
paul 2008-06-11 15:35:58 +00:00
parent 0e00ff3660
commit efb0e8990c

View File

@ -74,6 +74,8 @@ var
Width, Height: integer;
MaxWidth, MaxHeight: guint;
pixbuf, masked_pixbuf: PGdkPixbuf;
{$ifdef Windows}
Old80807CW: Word;
procedure SetCW; inline;
@ -86,7 +88,8 @@ var
begin
Set8087CW(Old80807CW);
end;
{$endif}
begin
Result := 0;
if not IsValidGDIObject(ACursorInfo^.hbmColor) then Exit;