X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d03fd34d3cca63ba73cee48271eda244ceb98337..58be4fb13167350d827665ee233ba1108f2f77fc:/wxPython/contrib/gizmos/msw/gizmos.py diff --git a/wxPython/contrib/gizmos/msw/gizmos.py b/wxPython/contrib/gizmos/msw/gizmos.py index 4e081d708d..71f001eddd 100644 --- a/wxPython/contrib/gizmos/msw/gizmos.py +++ b/wxPython/contrib/gizmos/msw/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)"""