LCL: TCanvas.RealizeAntialiasing: do not call changed

git-svn-id: trunk@25417 -
This commit is contained in:
mattias 2010-05-15 11:42:47 +00:00
parent 403c0fde87
commit 51906d0ce2

View File

@ -168,14 +168,13 @@ procedure TCanvas.RealizeAntialiasing;
begin
if HandleAllocated then
begin
Changing;
// do not call Changed, the content has not changed
case FAntialiasingMode of
amOn: WidgetSet.DCSetAntialiasing(FHandle, True);
amOff: WidgetSet.DCSetAntialiasing(FHandle, False);
else
WidgetSet.DCSetAntialiasing(FHandle, Boolean(WidgetSet.GetLCLCapability(lcAntialiasingEnabledByDefault)) )
end;
Changed;
end;
end;