[gtkmm] how to use Glib::Object



hi,

i have a class derived from Glib::Object to enable reference counting in order to use it with Glib::RefPtr.

the following warning appears everytime i create a Glib::RefPtr<MyObject>:
glibmm-WARNING **: Object::Object(): Did you really mean to call this?


is it bad practice to use the standard ctor and how to use the other ctors?



--
triendl klaus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]