>    TargetWindow(const char* label) : Window(USEDEFAULT, 
> USEDEFAULT, 720, 300, label, true)
>           {

I would add an explicit:

        this->begin();  // or maybe just begin();

At this point, though that is more to do with superstition than
engineering, I suspect...


>              inbox = new inputGrid(330, 20, 90, 90);
> 
>              go = new Button(470, 50, 150, 25, "Generate words!");
> 
>              textBrowser = new Browser(150, 130, 470, 120, 
> "Valid words:");
>              go->callback(buttonCallBack, this);
>              callback(windowCallBack, this);
>              resizable(textBrowser);
>              end();
>       }
> 
> };
> //Endcode.
> 
> The box is as generic as it gets, which is why i cant work 
> this out. unless having the constructor as part of the 
> window's constructor does something it's not supposed to...?

Other than my comment above, it looks OK, so it seems odd it behaves as
you describe...


SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to