]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/windows3.py
corrections to dynamic loading for Darwin
[wxWidgets.git] / wxPython / src / msw / windows3.py
index 9674a3cb2ef9dd0672d76a39166fe68e5ab83878..b3e5c8ffed1219930565f332e6f8dce54d5c09b2 100644 (file)
@@ -125,7 +125,7 @@ class wxSashWindow(wxSashWindowPtr):
 def wxPreSashWindow(*_args,**_kwargs):
     val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -236,7 +236,7 @@ class wxSashLayoutWindow(wxSashLayoutWindowPtr):
 def wxPreSashLayoutWindow(*_args,**_kwargs):
     val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -289,7 +289,7 @@ class wxPopupWindow(wxPopupWindowPtr):
 def wxPrePopupWindow(*_args,**_kwargs):
     val = wxPopupWindowPtr(apply(windows3c.new_wxPrePopupWindow,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -320,10 +320,31 @@ class wxPopupTransientWindow(wxPopupTransientWindowPtr):
 def wxPrePopupTransientWindow(*_args,**_kwargs):
     val = wxPopupTransientWindowPtr(apply(windows3c.new_wxPrePopupTransientWindow,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
+class wxTipWindowPtr(wxPopupTransientWindowPtr):
+    def __init__(self,this):
+        self.this = this
+        self.thisown = 0
+    def SetBoundingRect(self, *_args, **_kwargs):
+        val = apply(windows3c.wxTipWindow_SetBoundingRect,(self,) + _args, _kwargs)
+        return val
+    def Close(self, *_args, **_kwargs):
+        val = apply(windows3c.wxTipWindow_Close,(self,) + _args, _kwargs)
+        return val
+    def __repr__(self):
+        return "<C wxTipWindow instance at %s>" % (self.this,)
+class wxTipWindow(wxTipWindowPtr):
+    def __init__(self,*_args,**_kwargs):
+        self.this = apply(windows3c.new_wxTipWindow,_args,_kwargs)
+        self.thisown = 1
+        self._setOORInfo(self)
+
+
+
+
 
 
 #-------------- FUNCTION WRAPPERS ------------------