]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/controls2.py
make wxArtProvider pure virtual (I was not so on
[wxWidgets.git] / wxPython / src / msw / controls2.py
index 7f39893d1b6e21f0c2b7a02a5b17d8489d48fa29..a972112caae6e8bc6b535a574efced401a789d1a 100644 (file)
@@ -1232,7 +1232,6 @@ class wxGenericDirCtrlPtr(wxControlPtr):
         return val
     def GetTreeCtrl(self, *_args, **_kwargs):
         val = apply(controls2c.wxGenericDirCtrl_GetTreeCtrl,(self,) + _args, _kwargs)
-        if val: val = wxTreeCtrlPtr(val) 
         return val
     def GetFilterListCtrl(self, *_args, **_kwargs):
         val = apply(controls2c.wxGenericDirCtrl_GetFilterListCtrl,(self,) + _args, _kwargs)