Jim Wilson <[EMAIL PROTECTED]> said:

> Erik Hofman <[EMAIL PROTECTED]> said:
> 
> > Well, I am dynamically generating the menu structure. That means I can't 
> >   use a per entry callback function. I need just one number/pointer/hint 
> > in the callback to get it working.
> > 
> Make a child class that has all the necessary data in it.  And make your one
> user data item in puObject a pointer to the child class so you can pull its
> data in from inside the callback routine.
> 

Actually, you can just make a subclass with the info you need included.

Best,

Jim

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to