lcl: gtk2: clean up

git-svn-id: trunk@39946 -
This commit is contained in:
mattias 2013-01-24 10:51:55 +00:00
parent 07276efd34
commit 2cc4a14e1f

View File

@ -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;