mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 19:29:31 +02:00
gtk2: ifdef SetCW, ResetCW only for windows
git-svn-id: trunk@15388 -
This commit is contained in:
parent
0e00ff3660
commit
efb0e8990c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user