mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 07:09:37 +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+}
|
||||
|
||||
{$if defined(Windows)} // LCL defines like LCLWin32 don't reach the LCL
|
||||
{$define CDControlsDoDoubleBuffer}
|
||||
{$endif}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
@ -955,9 +951,6 @@ begin
|
||||
inherited Create(AOwner);
|
||||
CreateControlStateEx;
|
||||
PrepareCurrentDrawer();
|
||||
{$ifdef CDControlsDoDoubleBuffer}
|
||||
DoubleBuffered := True;
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
destructor TCDControl.Destroy;
|
||||
|
Loading…
Reference in New Issue
Block a user