X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/301dfd6748f54e3a6719fef85ca1f1b0787db884..b89f0cb06a187c6fe7e75ab5aa359b019b8ff766:/wxPython/src/gtk/controls2.py diff --git a/wxPython/src/gtk/controls2.py b/wxPython/src/gtk/controls2.py index 20795adaef..4e4e200003 100644 --- a/wxPython/src/gtk/controls2.py +++ b/wxPython/src/gtk/controls2.py @@ -608,6 +608,20 @@ class wxListCtrlPtr(wxControlPtr): def ScrollList(self, *_args, **_kwargs): val = apply(controls2c.wxListCtrl_ScrollList,(self,) + _args, _kwargs) return val + def SetItemTextColour(self, *_args, **_kwargs): + val = apply(controls2c.wxListCtrl_SetItemTextColour,(self,) + _args, _kwargs) + return val + def GetItemTextColour(self, *_args, **_kwargs): + val = apply(controls2c.wxListCtrl_GetItemTextColour,(self,) + _args, _kwargs) + if val: val = wxColourPtr(val) ; val.thisown = 1 + return val + def SetItemBackgroundColour(self, *_args, **_kwargs): + val = apply(controls2c.wxListCtrl_SetItemBackgroundColour,(self,) + _args, _kwargs) + return val + def GetItemBackgroundColour(self, *_args, **_kwargs): + val = apply(controls2c.wxListCtrl_GetItemBackgroundColour,(self,) + _args, _kwargs) + if val: val = wxColourPtr(val) ; val.thisown = 1 + return val def SortItems(self, *_args, **_kwargs): val = apply(controls2c.wxListCtrl_SortItems,(self,) + _args, _kwargs) return val @@ -1214,7 +1228,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)