Hi again Stuart,

I really can't tell from such a small snippet of code, but I'm guessing 
children() returns more children than actually exist - it seems to 
return the size of the top-level vector (but if it's being called from a 
first child (or second child / etc, where there exist less children on 
this "level" than on the top level), I *think* FLTK is then going to 
assume that there exist more Widgets then actually do. However, this is 
really only a guess - it looks like you're attempting to block all 
non-top-level items from calling the child() function, so I assume 
something similar is going on within children().

In any case, the only way for me to see what's going on is with a 
slightly more complete + compilable example (which I can then run 
through debugging tools / etc - which, unfortunately, the current code 
doesn't allow me to do).

Could you please post a minimal but compilable example?

Regards,
Ben

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

Reply via email to