]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/controls2.py
Various tweaks, fixes, and additions
[wxWidgets.git] / wxPython / src / msw / controls2.py
index c7490103de5304a92b57847027a821e741584160..46c97a51f12b91e440ed5b6bf701e2d05ba73309 100644 (file)
@@ -480,6 +480,12 @@ class wxListCtrlPtr(wxControlPtr):
         return val
     def __repr__(self):
         return "<C wxListCtrl instance at %s>" % (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)