X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..3cebfef17b54f9dacc386f090827b8badb2773d2:/wxPython/contrib/gizmos/gtk/gizmos.py diff --git a/wxPython/contrib/gizmos/gtk/gizmos.py b/wxPython/contrib/gizmos/gtk/gizmos.py index 4e081d708d..f4beda5db4 100644 --- a/wxPython/contrib/gizmos/gtk/gizmos.py +++ b/wxPython/contrib/gizmos/gtk/gizmos.py @@ -429,6 +429,8 @@ class TreeListCtrl(core.Control): Size size=DefaultSize, long style=TR_DEFAULT_STYLE, Validator validator=DefaultValidator, String name=TreeListCtrlNameStr) -> bool + + Do the 2nd phase and create the GUI control. """ return _gizmos.TreeListCtrl_Create(*args, **kwargs) @@ -490,21 +492,15 @@ class TreeListCtrl(core.Control): def AssignImageList(*args, **kwargs): """AssignImageList(ImageList imageList)""" - val = _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs) - args[1].thisown = 0 - return val + return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs) def AssignStateImageList(*args, **kwargs): """AssignStateImageList(ImageList imageList)""" - val = _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs) - args[1].thisown = 0 - return val + return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs) def AssignButtonsImageList(*args, **kwargs): """AssignButtonsImageList(ImageList imageList)""" - val = _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs) - args[1].thisown = 0 - return val + return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs) def AddColumn(*args, **kwargs): """AddColumn(String text)""" @@ -610,6 +606,8 @@ class TreeListCtrl(core.Control): """SetItemPyData(TreeItemId item, PyObject obj)""" return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs) + GetPyData = GetItemPyData + SetPyData = SetItemPyData def SetItemHasChildren(*args, **kwargs): """SetItemHasChildren(TreeItemId item, bool has=True)""" return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)