X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94082a71f84ab25defd0b31ff60e9993b73df66a..a341e32e10a9d3110014c93063b2198255c8df55:/wxPython/src/mac/controls2.py diff --git a/wxPython/src/mac/controls2.py b/wxPython/src/mac/controls2.py index 94333ebefe..c23d04975b 100644 --- a/wxPython/src/mac/controls2.py +++ b/wxPython/src/mac/controls2.py @@ -612,6 +612,12 @@ class wxListCtrlPtr(wxControlPtr): def __repr__(self): return "" % (self.this,) + def GetItem(self, *_args, **_kwargs): + val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs) + if val is not None: val.thisown = 1 + return val + + def GetItem(self, *_args, **_kwargs): val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs) val.thisown = 1