[EMAIL PROTECTED] wrote:
Is there a widgetset define for which widgetset the LCL is compiled
for?Something like {$IFDEF GTK1_INTF} {$IFDEF GTK2_INTF} {$IFDEF
WIN32_INTF}
In one of my units I want to check, so that at compile time I can use
the right .inc file for the compiled widgetset.
If compiled by the IDE or lazbuild, you have LCLWIN32, LCLGTK, LCLGTK2 etc.
However keep in mind that putting defines in the LCL (independent) code
isn't encouraged.
The LCL once compiled can be used by different widgetsets. Onece the LCL
is compiled, I can (on linux) compile gtk1 and gtk2 and I can swith
widgetsets without recompileing.
More extreme on OSX, I compile the default LCL, so I get LCL+gtk1, then
I compile the carbon interface onle and I can easaly switch.
In short, there is no specific version of the LCL
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives