X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa2a5b8696bf412f2cc1c49b316f4bca2c3c367c..55d186514e846712d355aac1a3bbf2d1c0958957:/wxPython/src/gtk/windows2.py diff --git a/wxPython/src/gtk/windows2.py b/wxPython/src/gtk/windows2.py index 8d7b419673..f296814c80 100644 --- a/wxPython/src/gtk/windows2.py +++ b/wxPython/src/gtk/windows2.py @@ -67,6 +67,10 @@ class wxNotebookPtr(wxControlPtr): def SetImageList(self, *_args, **_kwargs): val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs) return val + def AssignImageList(self, *_args, **_kwargs): + val = apply(windows2c.wxNotebook_AssignImageList,(self,) + _args, _kwargs) + _args[0].thisown = 0 + return val def GetImageList(self, *_args, **_kwargs): val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs) return val @@ -112,12 +116,14 @@ class wxNotebook(wxNotebookPtr): def __init__(self,*_args,**_kwargs): self.this = apply(windows2c.new_wxNotebook,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self) def wxPreNotebook(*_args,**_kwargs): val = wxNotebookPtr(apply(windows2c.new_wxPreNotebook,_args,_kwargs)) val.thisown = 1 + val._setOORInfo(val) return val @@ -217,12 +223,14 @@ class wxSplitterWindow(wxSplitterWindowPtr): def __init__(self,*_args,**_kwargs): self.this = apply(windows2c.new_wxSplitterWindow,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self) def wxPreSplitterWindow(*_args,**_kwargs): val = wxSplitterWindowPtr(apply(windows2c.new_wxPreSplitterWindow,_args,_kwargs)) val.thisown = 1 + val._setOORInfo(val) return val