X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ef86e32ddee8d77078b1e18affa3cadcdc420d2..8ccff7d2116057a0e79db28491a6c7fdf4051a58:/wxPython/src/gtk/controls2.py?ds=inline diff --git a/wxPython/src/gtk/controls2.py b/wxPython/src/gtk/controls2.py index 117f3e2a31..0223efcb95 100644 --- a/wxPython/src/gtk/controls2.py +++ b/wxPython/src/gtk/controls2.py @@ -392,6 +392,12 @@ class wxListEventPtr(wxNotifyEventPtr): def GetCacheTo(self, *_args, **_kwargs): val = controls2c.wxListEvent_GetCacheTo(self, *_args, **_kwargs) return val + def IsEditCancelled(self, *_args, **_kwargs): + val = controls2c.wxListEvent_IsEditCancelled(self, *_args, **_kwargs) + return val + def SetEditCanceled(self, *_args, **_kwargs): + val = controls2c.wxListEvent_SetEditCanceled(self, *_args, **_kwargs) + return val def __setattr__(self,name,value): if name == "m_code" : controls2c.wxListEvent_m_code_set(self,value) @@ -468,6 +474,10 @@ class wxListCtrlPtr(wxControlPtr): def GetCountPerPage(self, *_args, **_kwargs): val = controls2c.wxListCtrl_GetCountPerPage(self, *_args, **_kwargs) return val + def GetViewRect(self, *_args, **_kwargs): + val = controls2c.wxListCtrl_GetViewRect(self, *_args, **_kwargs) + if val: val = wxRectPtr(val) ; val.thisown = 1 + return val def GetItem(self, *_args, **_kwargs): val = controls2c.wxListCtrl_GetItem(self, *_args, **_kwargs) return val @@ -517,6 +527,7 @@ class wxListCtrlPtr(wxControlPtr): return val def GetItemSpacing(self, *_args, **_kwargs): val = controls2c.wxListCtrl_GetItemSpacing(self, *_args, **_kwargs) + if val: val = wxSizePtr(val) ; val.thisown = 1 return val def SetItemSpacing(self, *_args, **_kwargs): val = controls2c.wxListCtrl_SetItemSpacing(self, *_args, **_kwargs)