]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/windows2.py
fixed bug in generation of thumb scroll events
[wxWidgets.git] / wxPython / src / msw / windows2.py
index a8b29e7f300ffd394030b24edd62720e9941bde3..1714c136c2c0e799bcce7d45efaaad8939d4e83b 100644 (file)
@@ -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