lcl: customdrawncontrols: disable DoubleBuffered for TCDControl

git-svn-id: trunk@57269 -
This commit is contained in:
ondrej 2018-02-07 17:00:23 +00:00
parent 16b7c2ba09
commit 0ec8cfcfac

View File

@ -11,10 +11,6 @@ unit CustomDrawnControls;
{$mode objfpc}{$H+} {$mode objfpc}{$H+}
{$if defined(Windows)} // LCL defines like LCLWin32 don't reach the LCL
{$define CDControlsDoDoubleBuffer}
{$endif}
interface interface
uses uses
@ -955,9 +951,6 @@ begin
inherited Create(AOwner); inherited Create(AOwner);
CreateControlStateEx; CreateControlStateEx;
PrepareCurrentDrawer(); PrepareCurrentDrawer();
{$ifdef CDControlsDoDoubleBuffer}
DoubleBuffered := True;
{$endif}
end; end;
destructor TCDControl.Destroy; destructor TCDControl.Destroy;