X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09f3d4e679f5742c54fb062ede846b77606a9c5b..a2615ebc22a402b1badb46475f94ab6aa3a64018:/wxPython/src/msw/windows2.py diff --git a/wxPython/src/msw/windows2.py b/wxPython/src/msw/windows2.py index a8b29e7f30..1714c136c2 100644 --- a/wxPython/src/msw/windows2.py +++ b/wxPython/src/msw/windows2.py @@ -5,6 +5,8 @@ from misc import * from gdi import * +from fonts import * + from windows import * from clip_dnd import * @@ -67,6 +69,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 +118,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 +225,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