Each widgetset has a define, like: $ifdef lclgtk2 or $ifdef lclqt or
$ifdef lclwin32

That should do the trick.

BTW: Isn't the "else" part in the DoButtonOrder() wrong way round?  It
says that for Unix environments the button order should be Close, OK,
Cancel.  Aren't most Unix (excluding Qt) environments Close, Cancel,
OK?

Regards,
 Graeme.

--
There's no place like 127.0.0.1

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

Reply via email to