mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 20:39:15 +02:00
do repaint parent area of this control when this control is being destroyed, but parent is not (issue #1699)
git-svn-id: trunk@9552 -
This commit is contained in:
parent
f488b7ca3f
commit
8d40e85530
@ -2348,7 +2348,6 @@ var
|
|||||||
begin
|
begin
|
||||||
if (Parent=nil) or (not Parent.HandleAllocated)
|
if (Parent=nil) or (not Parent.HandleAllocated)
|
||||||
or ([csLoading,csDestroying]*Parent.ComponentState<>[])
|
or ([csLoading,csDestroying]*Parent.ComponentState<>[])
|
||||||
or ([csLoading,csDestroying]*ComponentState<>[])
|
|
||||||
then exit;
|
then exit;
|
||||||
|
|
||||||
if (CtrlIsVisible or ((csDesigning in ComponentState)
|
if (CtrlIsVisible or ((csDesigning in ComponentState)
|
||||||
|
Loading…
Reference in New Issue
Block a user