On Fri, 31 Mar 2006 09:37:50 +0200
darekm <[EMAIL PROTECTED]> wrote:

> Hi
>   attached patch has:
>     setColor and setFont for tMemo
>     ShowAccelChar to tSpeedButton
> some improvements for tLabel

Thanks. But it seems, the patch does more than this.

1.

+  {$IFDEF gtk_no_set_modal}
   gtk_window_set_modal(GtkWindow, true);
+  {$ENDIF}

Should that be

+  {$IFNDEF gtk_no_set_modal}
   gtk_window_set_modal(GtkWindow, true);
+  {$ENDIF}

?


2.

Hint:
You improved TCustomLabel.Create:

-  Width := 65;
-  Height := 17;
+  setbounds(0,0,65,17);

There is a special method to reduce overhead even more:

SetInitialBounds(0,0,65,17);


Mattias

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

Reply via email to