Eduardo Suarez schrieb:
> I'm trying to compile some software which links to another library built over
> fltk-1.
>
> It seems to need some destructors defined, but fluid is not generating them.
>
> Any hint?
Why should fluid generate destructors?
When a project was opend, I need to create a class, e.g.
"my_fluid_class", then the constructor my_fluid_class() and finally add
a window to this constructor. After that fluid generates a constructor.
I guess also the destructor ~my_fluid_class() can be added to the class
as new function.
Another possibility would be, to add a destructor by a new class:
class my_new_class: public my_fluid_class
{
public:
my_new_class() {}
~my_new_class()
{
// Your destructor here
}
};
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk