int m_code;
long m_itemIndex;
- long m_oldItemIndex;
int m_col;
bool m_cancelled;
wxPoint m_pointDrag;
int GetCode();
long GetIndex();
- long GetOldIndex();
- long GetOldItem();
int GetColumn();
bool Cancelled();
wxPoint GetPoint();
const wxValidator& validator = wxDefaultValidator,
char* name = "listCtrl");
- void _setSelf(PyObject* self, PyObject* _class);
- %pragma(python) addtomethod = "__init__:self._setSelf(self, wxListCtrl)"
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxListCtrl)"
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreListCtrl:val._setOORInfo(val)"
// Set the control colours
bool SetForegroundColour(const wxColour& col);
int GetItemCount() const;
// Gets the number of columns in the list control
- int GetColumnCount() const { return m_colCount; }
+ int GetColumnCount() const;
// Retrieves the spacing between icons in pixels.
// If small is TRUE, gets the spacing for the small icon
void RefreshItem(long item);
void RefreshItems(long itemFrom, long itemTo);
-
-
-
// Arranges the items
bool Arrange(int flag = wxLIST_ALIGN_DEFAULT);
const wxValidator& validator = wxDefaultValidator,
const wxString &name = "listctrl" );
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreListView:val._setOORInfo(val)"
// [de]select an item
void Select(long n, bool on = TRUE);
const wxValidator& validator = wxDefaultValidator,
char* name = "wxTreeCtrl");
- void _setSelf(PyObject* self, PyObject* _class);
- %pragma(python) addtomethod = "__init__:self._setSelf(self, wxTreeCtrl)"
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxTreeCtrl)"
+
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreTreeCtrl:val._setOORInfo(val)"
size_t GetCount();
unsigned int GetIndent();