#endif
#include <wx/listctrl.h>
#include <wx/treectrl.h>
+#include <wx/imaglist.h>
%}
//----------------------------------------------------------------------
};
-class wxListItem {
+class wxListItem : public wxObject {
public:
wxListItem();
~wxListItem();
bool Arrange(int flag = wxLIST_ALIGN_DEFAULT);
void AssignImageList(wxImageList* imageList, int which);
+ %pragma(python) addtomethod = "AssignImageList:_args[0].thisown = 0"
bool DeleteItem(long item);
bool DeleteAllItems();
bool DeleteColumn(int col);
-%name(wxTreeItemData) class wxPyTreeItemData {
+%name(wxTreeItemData) class wxPyTreeItemData : public wxObject {
public:
wxPyTreeItemData(PyObject* obj = NULL);
%pragma(python) addtomethod = "__init__:self._setSelf(self, wxTreeCtrl)"
void AssignImageList(wxImageList* imageList);
+ %pragma(python) addtomethod = "AssignImageList:_args[0].thisown = 0"
size_t GetCount();
unsigned int GetIndent();
void SetIndent(unsigned int indent);
//----------------------------------------------------------------------
+%init %{
+ wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
+ wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
+%}
+
+//----------------------------------------------------------------------
+