X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87439dd8ae94e420f2a9ca5c650b350f990688c7..f63e3ebbe3272b9690aa2530e0c3048d3f37c7c7:/wxPython/src/gtk/controls2.py diff --git a/wxPython/src/gtk/controls2.py b/wxPython/src/gtk/controls2.py index dd7d2d4ffb..8d1113d6fd 100644 --- a/wxPython/src/gtk/controls2.py +++ b/wxPython/src/gtk/controls2.py @@ -1214,7 +1214,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) @@ -1415,6 +1414,6 @@ wxDIRCTRL_DIR_ONLY = controls2c.wxDIRCTRL_DIR_ONLY wxDIRCTRL_SELECT_FIRST = controls2c.wxDIRCTRL_SELECT_FIRST wxDIRCTRL_SHOW_FILTERS = controls2c.wxDIRCTRL_SHOW_FILTERS wxDIRCTRL_3D_INTERNAL = controls2c.wxDIRCTRL_3D_INTERNAL -wxDIRCTRL_EDITABLE = controls2c.wxDIRCTRL_EDITABLE +wxDIRCTRL_EDIT_LABELS = controls2c.wxDIRCTRL_EDIT_LABELS wxID_TREECTRL = controls2c.wxID_TREECTRL wxID_FILTERLISTCTRL = controls2c.wxID_FILTERLISTCTRL