Hi,
I have a strange compilation pb with my app.
Here's the (small) part of the code that cause the pb
class DockBar : public Fl_Box
{
bool bDockbar;
public:
DockBar(int x, int y, int w, int h, const char *l = 0)
: Fl_Box(x, y, w, h, l)
{
box(FL_THIN_UP_BOX);
color((Fl_Color) FL_GRAY);
}
void set(bool bTb)
{
if(bTb)
{
this->show();
bDockbar = true;
parent()->handle(DOCKBAR_SHOW);
}
else
{
this->hide();
bDockbar = false;
parent()->handle(DOCKBAR_HIDE);
}
}
.....
When I compile this with Codeblocks there's no problem. But if I compile it
with a makefile and Mingw (the same compilator as Codeblocks) here's what I get
about the lines :
parent()->handle(DOCKBAR_SHOW);
and
parent()->handle(DOCKBAR_HIDE);
invalid use of undefined type 'struct Fl_Group'
forward declaration of 'struct Fl_Group'
I just can't understand.
Can someone help me ?
Thanks
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk