mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 08:59:13 +02:00
synedit: ignore themes for DoubleBuffered
git-svn-id: trunk@57309 -
This commit is contained in:
parent
a7f4d141f1
commit
1ee1b616cc
@ -2111,7 +2111,7 @@ begin
|
|||||||
|
|
||||||
{$IF NOT DEFINED(EnableDoubleBuf) AND DEFINED(LCLWin32)}
|
{$IF NOT DEFINED(EnableDoubleBuf) AND DEFINED(LCLWin32)}
|
||||||
if not (csDesigning in ComponentState) then
|
if not (csDesigning in ComponentState) then
|
||||||
DoubleBuffered := GetWin32ThemedDoubleBuffered(Self);
|
DoubleBuffered := ((WindowsVersion <= wvVista) and (GetSystemMetrics(SM_REMOTESESSION)=0));
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
fTextDrawer := TheTextDrawer.Create([fsBold], fFontDummy);
|
fTextDrawer := TheTextDrawer.Create([fsBold], fFontDummy);
|
||||||
|
Loading…
Reference in New Issue
Block a user