X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc29c5e0e116edd9552cf023711b13e3495bcfaf..57a1fd73042accb25f48366ef8b51c974dfa2c04:/utils/wxPython/src/gtk/misc.py diff --git a/utils/wxPython/src/gtk/misc.py b/utils/wxPython/src/gtk/misc.py index c5066c288e..fcbc21698a 100644 --- a/utils/wxPython/src/gtk/misc.py +++ b/utils/wxPython/src/gtk/misc.py @@ -242,8 +242,11 @@ class wxPyTimerPtr : def __del__(self,miscc=miscc): if self.thisown == 1 : miscc.delete_wxPyTimer(self) - def Interval(self, *_args, **_kwargs): - val = apply(miscc.wxPyTimer_Interval,(self,) + _args, _kwargs) + def GetInterval(self, *_args, **_kwargs): + val = apply(miscc.wxPyTimer_GetInterval,(self,) + _args, _kwargs) + return val + def IsOneShot(self, *_args, **_kwargs): + val = apply(miscc.wxPyTimer_IsOneShot,(self,) + _args, _kwargs) return val def Start(self, *_args, **_kwargs): val = apply(miscc.wxPyTimer_Start,(self,) + _args, _kwargs) @@ -504,6 +507,23 @@ class wxAcceleratorTable(wxAcceleratorTablePtr): +class wxBusyInfoPtr : + def __init__(self,this): + self.this = this + self.thisown = 0 + def __del__(self,miscc=miscc): + if self.thisown == 1 : + miscc.delete_wxBusyInfo(self) + def __repr__(self): + return "" % (self.this,) +class wxBusyInfo(wxBusyInfoPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(miscc.new_wxBusyInfo,_args,_kwargs) + self.thisown = 1 + + + + #-------------- FUNCTION WRAPPERS ------------------ @@ -548,6 +568,8 @@ wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows wxGetResource = miscc.wxGetResource +wxStripMenuCodes = miscc.wxStripMenuCodes + #-------------- VARIABLE WRAPPERS ------------------