Mike Werner wrote:
> I think I found a fix to the problem Greg. It was in the header file. Fluid 
> generates the line:
> 
>   MyGroup(int X,int Y,int W,int H,const char *L=0);
> 
> Changing  -->char *L=0)<-- to -->char *L)<-- works for me.

        Interesting; normally "*L=0" is correct in the .h file,
        but shouldn't appear in the .cxx file. Fluid should handle that,
        but in the case of the fluid you're using, it seems like it's not.

        Anyway, glad you figured it out.. you can actually make two separate
        definitions of the ctor if need be in fluid; one with the L and one 
without.
        A longer way to end up with the same result, but might be more 
compatible
        in your fluid config, eg:

MyGroup(int X,int Y,int W,int H,const char *L) : Fl_Group(X,Y,W,H,L);   // with
MyGroup(int X,int Y,int W,int H) : Fl_Group(X,Y,W,H);                   // 
without

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

Reply via email to