Create a new object and return to a RefPtr
- From: "Dinh Khac Thanh" <thanhdk gmail com>
- To: gtkmm-list gnome org
- Subject: Create a new object and return to a RefPtr
- Date: Tue, 3 Jun 2008 15:21:20 +0800
Hi,
I created a custom class that inherits from Gdk::Pixmap with custom constructor. How do I instantiate an object from this class and then make a RefPtr point to that object? For example Item* pItem= new Item(some params here); But for RefPtr: RefPtr<Item> pItem = ?
Thank you for your support.
Regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]