On Sun, 13 Nov 2005 17:37:18 +0100
darekm <[EMAIL PROTECTED]> wrote:

> Index: lcl/include/wincontrol.inc
> ===================================================================
> --- lcl/include/wincontrol.inc    (wersja 8136)
> +++ lcl/include/wincontrol.inc    (kopia robocza)
> @@ -3993,7 +3993,7 @@
>  begin
>    if not HandleAllocated then
>      //Assert(False, Format('Trace:[TWinControl.GetHandle] %s(%s)', 
> [ClassNAme, Name]))
> -    ;
> +
>    HandleNeeded;
>    Result := FHandle;
>  end;

That's obscure IMHO: it moves the HandleNeeded under the if.

Micha

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to