>
> On 13.03.2010, at 08:47, manolo gouy wrote:
>
> > Matt:
> >=20
> > About this recent change to remove a compilation warning:
> > # if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION_10_5
> > if (ctx) aglSetWindowRef(ctx, NULL);
> > # else
> > if (ctx) aglSetDrawable(ctx, NULL);
> > # endif
> >=20
> > Wouldn't it be better to also test for aglSetWindowRef !=3D NULL
> > and call aglSetDrawable if not? This allows to compile a program
> > on 10.5 or 10.6 and have the resulting executable usable
> > on earlier OS versions. A useful thing for program distribution.
>
> Oh, ok, yes sure. I am only slowly picking up this entire Apple =
> versioning idea. Would you please do it right, so I can earn from it?=20
>
> - Matthias=
>
Fixed in Fl_Printer branch
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev