mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 15:20:38 +02:00
lcl: gtk2: clean up
git-svn-id: trunk@39946 -
This commit is contained in:
parent
07276efd34
commit
2cc4a14e1f
@ -5230,14 +5230,14 @@ end;
|
||||
procedure TGtk2WidgetSet.DCSetAntialiasing(CanvasHandle: HDC; AEnabled: Boolean
|
||||
);
|
||||
var
|
||||
DC: TGtk2DeviceContext;
|
||||
DC: TGtkDeviceContext;
|
||||
begin
|
||||
if IsValidDC(CanvasHandle) then
|
||||
begin
|
||||
//if CanvasHandle = 1 then
|
||||
//DC := Gtk2DefaultContext
|
||||
//else
|
||||
DC := TGtk2DeviceContext(CanvasHandle);
|
||||
DC := TGtkDeviceContext(CanvasHandle);
|
||||
DC.Antialiasing := AEnabled;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user