]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/windows3.py
added visual c++ makefiles
[wxWidgets.git] / wxPython / src / msw / windows3.py
index 1c9ef110f6713a7706680ed442acb6464ae86dd6..c7a571f5644564919c72ca14b1051d9cde763153 100644 (file)
@@ -5,6 +5,8 @@ from misc import *
 
 from gdi import *
 
+from fonts import *
+
 from windows import *
 
 from clip_dnd import *
@@ -244,9 +246,12 @@ class wxLayoutAlgorithmPtr(wxObjectPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
-    def __del__(self,windows3c=windows3c):
-        if self.thisown == 1 :
-            windows3c.delete_wxLayoutAlgorithm(self)
+    def __del__(self, delfunc=windows3c.delete_wxLayoutAlgorithm):
+        if self.thisown == 1:
+            try:
+                delfunc(self)
+            except:
+                pass
     def LayoutMDIFrame(self, *_args, **_kwargs):
         val = apply(windows3c.wxLayoutAlgorithm_LayoutMDIFrame,(self,) + _args, _kwargs)
         return val
@@ -324,6 +329,27 @@ def wxPrePopupTransientWindow(*_args,**_kwargs):
     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 ------------------