mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-02 10:10:37 +01:00
LCL: fix the issue #19685 that painting TGraphicsControl on Designer Overlay DC
1. the issue only occurs at design time 2. the issue is that Control should not be painted on Designer Overlay Layer
This commit is contained in:
parent
543afd6573
commit
da0cab134e
@ -4954,7 +4954,8 @@ begin
|
||||
|
||||
//DebugLn('[TWinControl.PaintControls] ',Name,':',ClassName,' DC=',DbgS(DC,8));
|
||||
if (csDestroying in ComponentState)
|
||||
or ((DC=0) and (not HandleAllocated)) then
|
||||
or ((DC=0) and (not HandleAllocated))
|
||||
or WidgetSet.IsDesignerDC(self.Handle,DC) then
|
||||
exit;
|
||||
|
||||
{$IFDEF VerboseDsgnPaintMsg}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user