SetEventData for a few widgets
Re-installed wxBitmaps::LoafFile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
// Because the objects of this class are deleted by the tree, they should
|
||||
// always be allocated on the heap!
|
||||
// ----------------------------------------------------------------------------
|
||||
class WXDLLEXPORT wxTreeItemData
|
||||
class WXDLLEXPORT wxTreeItemData: public wxClientData
|
||||
{
|
||||
friend class wxTreeCtrl;
|
||||
public:
|
||||
@@ -80,11 +80,6 @@ public:
|
||||
|
||||
// default copy ctor/assignment operator are ok
|
||||
|
||||
// dtor is virtual and all the items are deleted by the tree control
|
||||
// when it's deleted, so you normally don't have to care about freeing
|
||||
// memory allocated in your wxTreeItemData-derived class
|
||||
virtual ~wxTreeItemData() { }
|
||||
|
||||
// accessor: get the item associated with us
|
||||
const wxTreeItemId& GetId() const { return m_pItem; }
|
||||
void SetId(const wxTreeItemId& id) { m_pItem = id; }
|
||||
|
Reference in New Issue
Block a user