X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0699c8646a72ffd13f3a0b3ab746ec3cbec5bd28..cc9efb9be731d6827981fb8ddacf60bf1382b31c:/utils/wxPython/src/msw/misc.py diff --git a/utils/wxPython/src/msw/misc.py b/utils/wxPython/src/msw/misc.py index fe8777e384..fc5f7bec49 100644 --- a/utils/wxPython/src/msw/misc.py +++ b/utils/wxPython/src/msw/misc.py @@ -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,30 +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 GetWindow(self): - val = miscc.wxToolTip_GetWindow(self.this) - val = wxWindowPtr(val) - return val - def __repr__(self): - return "" -class wxToolTip(wxToolTipPtr): - def __init__(self,arg0) : - self.this = miscc.new_wxToolTip(arg0) - self.thisown = 1 - - - - #-------------- FUNCTION WRAPPERS ------------------ @@ -564,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 @@ -584,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) @@ -623,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 @@ -656,10 +630,6 @@ wxResourceParseFile = miscc.wxResourceParseFile wxResourceParseString = miscc.wxResourceParseString -wxToolTip_Enable = miscc.wxToolTip_Enable - -wxToolTip_SetDelay = miscc.wxToolTip_SetDelay - #-------------- VARIABLE WRAPPERS ------------------