]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/msw/misc.py
even more fixes for nmake compilation
[wxWidgets.git] / utils / wxPython / src / msw / misc.py
index 9ad2a160caf8c995be53904efa09fb34822002e0..fc5f7bec49171b788baee57e25713f50aa32781a 100644 (file)
@@ -22,6 +22,12 @@ class wxSizePtr :
     def GetHeight(self):
         val = miscc.wxSize_GetHeight(self.this)
         return val
+    def SetWidth(self,arg0):
+        val = miscc.wxSize_SetWidth(self.this,arg0)
+        return val
+    def SetHeight(self,arg0):
+        val = miscc.wxSize_SetHeight(self.this,arg0)
+        return val
     def asTuple(self):
         val = miscc.wxSize_asTuple(self.this)
         return val
@@ -488,33 +494,6 @@ class wxAcceleratorTable(wxAcceleratorTablePtr):
 
 
 
-class wxToolTipPtr :
-    def __init__(self,this):
-        self.this = this
-        self.thisown = 0
-    def SetTip(self,arg0):
-        val = miscc.wxToolTip_SetTip(self.this,arg0)
-        return val
-    def GetTip(self):
-        val = miscc.wxToolTip_GetTip(self.this)
-        return val
-    def SetWindow(self,arg0):
-        val = miscc.wxToolTip_SetWindow(self.this,arg0.this)
-        return val
-    def GetWindow(self):
-        val = miscc.wxToolTip_GetWindow(self.this)
-        val = wxWindowPtr(val)
-        return val
-    def __repr__(self):
-        return "<C wxToolTip instance>"
-class wxToolTip(wxToolTipPtr):
-    def __init__(self,arg0) :
-        self.this = miscc.new_wxToolTip(arg0)
-        self.thisown = 1
-
-
-
-
 
 
 #-------------- FUNCTION WRAPPERS ------------------
@@ -567,6 +546,10 @@ def wxSetCursor(arg0):
     val = miscc.wxSetCursor(arg0.this)
     return val
 
+wxNewId = miscc.wxNewId
+
+wxRegisterId = miscc.wxRegisterId
+
 NewId = miscc.NewId
 
 RegisterId = miscc.RegisterId
@@ -587,24 +570,6 @@ wxEndBusyCursor = miscc.wxEndBusyCursor
 
 wxExecute = miscc.wxExecute
 
-def wxFindWindowByLabel(arg0,*args):
-    argl = map(None,args)
-    try: argl[0] = argl[0].this
-    except: pass
-    args = tuple(argl)
-    val = apply(miscc.wxFindWindowByLabel,(arg0,)+args)
-    val = wxWindowPtr(val)
-    return val
-
-def wxFindWindowByName(arg0,*args):
-    argl = map(None,args)
-    try: argl[0] = argl[0].this
-    except: pass
-    args = tuple(argl)
-    val = apply(miscc.wxFindWindowByName,(arg0,)+args)
-    val = wxWindowPtr(val)
-    return val
-
 def wxGetActiveWindow():
     val = miscc.wxGetActiveWindow()
     val = wxWindowPtr(val)
@@ -626,8 +591,14 @@ wxStartTimer = miscc.wxStartTimer
 
 wxGetOsVersion = miscc.wxGetOsVersion
 
+wxSleep = miscc.wxSleep
+
 wxYield = miscc.wxYield
 
+wxSafeYield = miscc.wxSafeYield
+
+wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows
+
 wxGetResource = miscc.wxGetResource
 
 wxResourceAddIdentifier = miscc.wxResourceAddIdentifier
@@ -659,10 +630,6 @@ wxResourceParseFile = miscc.wxResourceParseFile
 
 wxResourceParseString = miscc.wxResourceParseString
 
-wxToolTip_Enable = miscc.wxToolTip_Enable
-
-wxToolTip_SetDelay = miscc.wxToolTip_SetDelay
-
 
 
 #-------------- VARIABLE WRAPPERS ------------------