X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c8a649d7ad84e3c96a0add884791f156e6aefb2..70541533c8e108249a82fbe2bc05ccfb73bf028d:/wxPython/src/gtk/controls2.py?ds=inline diff --git a/wxPython/src/gtk/controls2.py b/wxPython/src/gtk/controls2.py index db98bc29b5..6bc6177d98 100644 --- a/wxPython/src/gtk/controls2.py +++ b/wxPython/src/gtk/controls2.py @@ -467,6 +467,12 @@ class wxListCtrlPtr(wxControlPtr): return val def __repr__(self): return "" % (self.this,) + + def GetItem(self, *_args, **_kwargs): + val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs) + val.thisown = 1 + return val + class wxListCtrl(wxListCtrlPtr): def __init__(self,*_args,**_kwargs): self.this = apply(controls2c.new_wxListCtrl,_args,_kwargs)