mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 07:19:18 +02:00
lcl: customdrawncontrols: disable DoubleBuffered for TCDControl
git-svn-id: trunk@57269 -
This commit is contained in:
parent
16b7c2ba09
commit
0ec8cfcfac
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user