Tomas Bym wrote: >> I think you may have to post a minimal, compileable, example that >> manifests the bug, it is hard to tell from your description what is >> going on. >> >> That said, the FLU widget set aren't part of the core, so not many >> people (possibly nobody, now that Jason's not around here much anymore) >> know much about them, so if the problem is in there, it may be hard to >> resolve... >> > I found the solution for my problem, but don't really understand why it > works. From the following callback function for tree browser I deleted the > case FLU_WIDGET_CALLBACK and it works fine. But I don't see much difference > in what is happening.
I don't know Flu_Tree_Browser, but could it be that ... > int reason = t->callback_reason(); > Flu_Tree_Browser::Node *n = t->callback_node(); t->callback_node() is null if "reason" is FLU_WIDGET_CALLBACK ? > /*case FLU_WIDGET_CALLBACK: > printf( "%s widget callback\n", n->label() ); > break;*/ Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

