lcl: mark clientrect as not valid after window handle creation (fixes bug #0012802)

git-svn-id: trunk@18487 -
This commit is contained in:
paul 2009-01-29 08:11:17 +00:00
parent 8cee5efb85
commit d43decb3b2

View File

@ -6566,6 +6566,7 @@ begin
RaiseGDBException('Handle creation failed creating '+DbgSName(Self));
//debugln('TWinControl.CreateWnd ',DbgSName(Self));
Constraints.UpdateInterfaceConstraints;
InvalidateClientRectCache(False);
InvalidatePreferredSize;
TWSWinControlClass(WidgetSetClass).ConstraintsChange(Self);