>I couldn't get back this pointer by calling pointer_to_my_object* p = 
>>node->userData, because it is protected.
> Is there any way how to do it? Thank you, Tomas

It is always  bad idea to use an attribute member of a class instead of its 
corresponding get/set method.

Here, I guess you should use user_data() that would return what you want, 
UserData is the *protected* corresponding attribute.

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

Reply via email to