Greg Ercolano wrote: > renderguy wrote: >> Hi Michael, >> >> I already tried this, but when I run 'fluid -c <myfile>.fl' an error message >> is generated... >> >> Unknown word "Fl_Sys_Menu_Bar" > > That's a weird error. > Sounds like maybe you hand-hacked the fl file? > > When Mike recommended to 'set the class to Fl_Sys_Menu_Bar', > he meant once inside fluid, bring up the properties editor > for for the regular menu bar, and in the "C++" tab, type > "Fl_Sys_Menu_Bar" into the "Class:" field. > > Then, as Ian points out, you have then manually add an #include > for the Fl_Sys_Menu_Bar widget by de-selecting all widgets, > and choosing New -> Declaration and then typing: > > #include <FL/Fl_Sys_Menu_Bar.H> > > ..and then use the F2 key to move it up to the top of the list > inside fluid's viewer.
or just add a line reading "#include <Fl/Fl_Sys_Menu_Bar.H>" to the extra code fields below the class field... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

