X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdf14688f51fa5a242df70f86c7af229fe64fd4f..45eb5249574b0f1f50db5e6a7eb5bba43fd99cb9:/wxPython/src/msw/misc2.py diff --git a/wxPython/src/msw/misc2.py b/wxPython/src/msw/misc2.py index f14a5b3935..5ff8674ee2 100644 --- a/wxPython/src/msw/misc2.py +++ b/wxPython/src/msw/misc2.py @@ -329,6 +329,9 @@ class wxLogPtr : def GetVerbose(self, *_args, **_kwargs): val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs) return val + def TimeStamp(self, *_args, **_kwargs): + val = apply(misc2c.wxLog_TimeStamp,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxLog(wxLogPtr): @@ -428,6 +431,54 @@ class wxLogNull(wxLogNullPtr): +class wxLogChainPtr(wxLogPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def SetLog(self, *_args, **_kwargs): + val = apply(misc2c.wxLogChain_SetLog,(self,) + _args, _kwargs) + return val + def PassMessages(self, *_args, **_kwargs): + val = apply(misc2c.wxLogChain_PassMessages,(self,) + _args, _kwargs) + return val + def IsPassingMessages(self, *_args, **_kwargs): + val = apply(misc2c.wxLogChain_IsPassingMessages,(self,) + _args, _kwargs) + return val + def GetOldLog(self, *_args, **_kwargs): + val = apply(misc2c.wxLogChain_GetOldLog,(self,) + _args, _kwargs) + if val: val = wxLogPtr(val) + return val + def __repr__(self): + return "" % (self.this,) +class wxLogChain(wxLogChainPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(misc2c.new_wxLogChain,_args,_kwargs) + self.thisown = 1 + + + + +class wxPyLogPtr(wxLogPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def _setSelf(self, *_args, **_kwargs): + val = apply(misc2c.wxPyLog__setSelf,(self,) + _args, _kwargs) + return val + def Destroy(self, *_args, **_kwargs): + val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxPyLog(wxPyLogPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(misc2c.new_wxPyLog,_args,_kwargs) + self.thisown = 1 + self._setSelf(self, wxPyLog) + + + + class wxProcessEventPtr(wxEventPtr): def __init__(self,this): self.this = this @@ -874,6 +925,12 @@ wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask +wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks + +wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp + +wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp + wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask