X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab9bc19bd1c0347b73a55b5a642f4d590aa76d43..db8db70a19a52f14f284a99cafbf2f18c66372ea:/utils/wxPython/src/gtk/misc.py diff --git a/utils/wxPython/src/gtk/misc.py b/utils/wxPython/src/gtk/misc.py index 701ba1ebec..d72a369b9d 100644 --- a/utils/wxPython/src/gtk/misc.py +++ b/utils/wxPython/src/gtk/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 @@ -485,30 +491,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 ------------------ @@ -585,34 +567,20 @@ 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 - wxGetMousePosition = miscc.wxGetMousePosition wxIsBusy = miscc.wxIsBusy wxNow = miscc.wxNow +wxSleep = miscc.wxSleep + wxYield = miscc.wxYield wxSafeYield = miscc.wxSafeYield +wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows + wxGetResource = miscc.wxGetResource wxResourceAddIdentifier = miscc.wxResourceAddIdentifier @@ -644,10 +612,6 @@ wxResourceParseFile = miscc.wxResourceParseFile wxResourceParseString = miscc.wxResourceParseString -wxToolTip_Enable = miscc.wxToolTip_Enable - -wxToolTip_SetDelay = miscc.wxToolTip_SetDelay - #-------------- VARIABLE WRAPPERS ------------------