Thanks for your comments,

manolo gouy wrote:

> I'm not convinced by this proposal. It could be confusing for the
> FLTK programmer to pretend these strings are platform independent
> when they are really unused on Mac and WIN32, where dialogs
> are localized by the OS.

We can still document that they are used only on the X11 platforms.

> If you really consider that the requirement to put
> #if !defined(WIN32)&&  !defined(__APPLE__) / #endif in the source code
> is bad, I would then suggest to just move the definition of these
> strings from file print_panel.cxx to file Fl_Printer.cxx
> where they would be compiled for all platforms, even if for no use
> on Mac and Win, but to keep them in class Fl_Printer.

Yep, I found that out a few minutes ago, and I also think that this
would probably be better (don't know if you read me 2nd posting before
your reply).

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to