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:
micha 2006-07-03 19:20:07 +00:00
parent f488b7ca3f
commit 8d40e85530

View File

@ -2348,7 +2348,6 @@ var
begin
if (Parent=nil) or (not Parent.HandleAllocated)
or ([csLoading,csDestroying]*Parent.ComponentState<>[])
or ([csLoading,csDestroying]*ComponentState<>[])
then exit;
if (CtrlIsVisible or ((csDesigning in ComponentState)