wxTreeItemInternalData() {}
~wxTreeItemInternalData()
{
- if(m_pAttr)
- {
- delete m_pAttr;
- m_pAttr = NULL;
- }
+ wxDELETE(m_pAttr);
}
wxTreeItemAttr* m_pAttr;
);
const wxTreeCtrl* m_pTree;
- DECLARE_NO_COPY_CLASS(wxTreeTraversal)
+ wxDECLARE_NO_COPY_CLASS(wxTreeTraversal);
}; // end of CLASS wxTreeTraversal
//
// wxWin macros
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------