Ah - missed that.

However, I believe that Christian automatically nulls the control at compile 
time on unsupported platforms.

You could still use the #if … #endif blocks -

Create the three versions of the controls, but place them off the window onto 
the pasteboard.  In the #if TargetXXXXXX blocks, place the appropriate version 
of the control onto the window in the appropriate location and visible / enable 
it.

TIm

On Dec 9, 2013, at 1:30 PM, Marnaud <[email protected]> wrote:

> Le 9 déc. 2013 à 20:42, Tim Jones a écrit:
> 
>> That’s what the #if TargetXXXXXXX options are for.  Wrap your 
>> platform-specific code in proper blocks:
>> 
>>      #if TargetMacOS
>>              //Do the Mac Stuff
>>      #elseif TargetLinux
>>              // Do the Linux stuff
>>      #else
>>              // Do the Windows stuff
>>      #endif
> 
> It really works for controls you put on a window? How?
> (the original poster has control classes that are Mac only)
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to