> 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 my 2nd posting before > your reply). > > Albrecht
Yes, I'd missed your second posting. I believe moving the strings to a different file but keeping them in the same class + documenting they are useful only under X11 would be a perfect solution. Do you also see this change as an incentive to run the doc-generation procedure once more ? :=) _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
