]> 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 11485c1682b976517c784a5c6c63b3f13260d90f..1714c136c2c0e799bcce7d45efaaad8939d4e83b 100644 (file)
@@ -5,6 +5,8 @@ from misc import *
 
 from gdi import *
 
+from fonts import *
+
 from windows import *
 
 from clip_dnd import *
@@ -123,7 +125,7 @@ class wxNotebook(wxNotebookPtr):
 def wxPreNotebook(*_args,**_kwargs):
     val = wxNotebookPtr(apply(windows2c.new_wxPreNotebook,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -230,7 +232,7 @@ class wxSplitterWindow(wxSplitterWindowPtr):
 def wxPreSplitterWindow(*_args,**_kwargs):
     val = wxSplitterWindowPtr(apply(windows2c.new_wxPreSplitterWindow,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val