From a76f38fb5a513ce209f01cd8b5efb9f30630493d Mon Sep 17 00:00:00 2001 From: lazarus Date: Sat, 9 Feb 2002 01:47:53 +0000 Subject: [PATCH] MG: from Andrew: style list fixes, autosize for radio/checkbtns git-svn-id: trunk@1112 - --- lcl/include/wincontrol.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lcl/include/wincontrol.inc b/lcl/include/wincontrol.inc index 67657f8358..c188e70962 100644 --- a/lcl/include/wincontrol.inc +++ b/lcl/include/wincontrol.inc @@ -567,10 +567,8 @@ end; Procedure TWinControl.ReCreateWnd; Begin //send a message to inform the interface that we need to destroy and recreate this control - if FHandle <> 0 then - Begin + if HandleAllocated then CNSendMessage(LM_RECREATEWND,Self,Nil); - end; end; {------------------------------------------------------------------------------} @@ -2283,6 +2281,9 @@ end; { ============================================================================= $Log$ + Revision 1.77 2002/08/24 06:51:22 lazarus + MG: from Andrew: style list fixes, autosize for radio/checkbtns + Revision 1.76 2002/08/17 15:45:33 lazarus MG: removed ClientRectBugfix defines