+class wxPyLogPtr(wxLogPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs)
+ return val
+ def Destroy(self, *_args, **_kwargs):
+ val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxPyLog instance at %s>" % (self.this,)
+class wxPyLog(wxPyLogPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxPyLog,_args,_kwargs)
+ self.thisown = 1
+ self._setCallbackInfo(self, wxPyLog)
+
+
+
+
+class wxProcessEventPtr(wxEventPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetPid(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs)
+ return val
+ def GetExitCode(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs)
+ return val
+ def __setattr__(self,name,value):
+ if name == "m_pid" :
+ misc2c.wxProcessEvent_m_pid_set(self,value)
+ return
+ if name == "m_exitcode" :
+ misc2c.wxProcessEvent_m_exitcode_set(self,value)
+ return
+ self.__dict__[name] = value
+ def __getattr__(self,name):
+ if name == "m_pid" :
+ return misc2c.wxProcessEvent_m_pid_get(self)
+ if name == "m_exitcode" :
+ return misc2c.wxProcessEvent_m_exitcode_get(self)
+ raise AttributeError,name
+ def __repr__(self):
+ return "<C wxProcessEvent instance at %s>" % (self.this,)
+class wxProcessEvent(wxProcessEventPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxProcessPtr(wxEvtHandlerPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Destroy(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs)
+ return val
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess__setCallbackInfo,(self,) + _args, _kwargs)
+ return val
+ def base_OnTerminate(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs)
+ return val
+ def Redirect(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs)
+ return val
+ def IsRedirected(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs)
+ return val
+ def Detach(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs)
+ return val
+ def GetInputStream(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs)
+ return val
+ def GetErrorStream(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs)
+ return val
+ def GetOutputStream(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs)
+ if val: val = wxOutputStreamPtr(val)
+ return val
+ def CloseOutput(self, *_args, **_kwargs):
+ val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxProcess instance at %s>" % (self.this,)
+class wxProcess(wxProcessPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxProcess,_args,_kwargs)
+ self.thisown = 1
+ self._setCallbackInfo(self, wxProcess)
+
+
+
+
+class wxJoystickPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,misc2c=misc2c):
+ if self.thisown == 1 :
+ misc2c.delete_wxJoystick(self)
+ def GetPosition(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs)
+ if val: val = wxPointPtr(val) ; val.thisown = 1
+ return val
+ def GetZPosition(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs)
+ return val
+ def GetButtonState(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs)
+ return val
+ def GetPOVPosition(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs)
+ return val
+ def GetPOVCTSPosition(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs)
+ return val
+ def GetRudderPosition(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs)
+ return val
+ def GetUPosition(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs)
+ return val
+ def GetVPosition(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs)
+ return val
+ def GetMovementThreshold(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs)
+ return val
+ def SetMovementThreshold(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs)
+ return val
+ def IsOk(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs)
+ return val
+ def GetNumberJoysticks(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs)
+ return val
+ def GetManufacturerId(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs)
+ return val
+ def GetProductId(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs)
+ return val
+ def GetProductName(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs)
+ return val
+ def GetXMin(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs)
+ return val
+ def GetYMin(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs)
+ return val
+ def GetZMin(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs)
+ return val
+ def GetXMax(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs)
+ return val
+ def GetYMax(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs)
+ return val
+ def GetZMax(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs)
+ return val
+ def GetNumberButtons(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs)
+ return val
+ def GetNumberAxes(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs)
+ return val
+ def GetMaxButtons(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs)
+ return val
+ def GetMaxAxes(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs)
+ return val
+ def GetPollingMin(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs)
+ return val
+ def GetPollingMax(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs)
+ return val
+ def GetRudderMin(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs)
+ return val
+ def GetRudderMax(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs)
+ return val
+ def GetUMin(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs)
+ return val
+ def GetUMax(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs)
+ return val
+ def GetVMin(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs)
+ return val
+ def GetVMax(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs)
+ return val
+ def HasRudder(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs)
+ return val
+ def HasZ(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs)
+ return val
+ def HasU(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs)
+ return val
+ def HasV(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs)
+ return val
+ def HasPOV(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs)
+ return val
+ def HasPOV4Dir(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs)
+ return val
+ def HasPOVCTS(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs)
+ return val
+ def SetCapture(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs)
+ return val
+ def ReleaseCapture(self, *_args, **_kwargs):
+ val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxJoystick instance at %s>" % (self.this,)
+class wxJoystick(wxJoystickPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxJoystick,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxWavePtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,misc2c=misc2c):
+ if self.thisown == 1 :
+ misc2c.delete_wxWave(self)
+ def IsOk(self, *_args, **_kwargs):
+ val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs)
+ return val
+ def Play(self, *_args, **_kwargs):
+ val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxWave instance at %s>" % (self.this,)
+class wxWave(wxWavePtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxWave,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxFileTypeInfoPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def IsValid(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_IsValid,(self,) + _args, _kwargs)
+ return val
+ def SetIcon(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_SetIcon,(self,) + _args, _kwargs)
+ return val
+ def SetShortDesc(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_SetShortDesc,(self,) + _args, _kwargs)
+ return val
+ def GetMimeType(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetMimeType,(self,) + _args, _kwargs)
+ return val
+ def GetOpenCommand(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetOpenCommand,(self,) + _args, _kwargs)
+ return val
+ def GetPrintCommand(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetPrintCommand,(self,) + _args, _kwargs)
+ return val
+ def GetShortDesc(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetShortDesc,(self,) + _args, _kwargs)
+ return val
+ def GetDescription(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetDescription,(self,) + _args, _kwargs)
+ return val
+ def GetExtensions(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetExtensions,(self,) + _args, _kwargs)
+ return val
+ def GetExtensionsCount(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount,(self,) + _args, _kwargs)
+ return val
+ def GetIconFile(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetIconFile,(self,) + _args, _kwargs)
+ return val
+ def GetIconIndex(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileTypeInfo_GetIconIndex,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxFileTypeInfo instance at %s>" % (self.this,)
+class wxFileTypeInfo(wxFileTypeInfoPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxFileTypeInfo,_args,_kwargs)
+ self.thisown = 1
+
+
+
+def wxFileTypeInfoSequence(*_args,**_kwargs):
+ val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+def wxNullFileTypeInfo(*_args,**_kwargs):
+ val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+
+class wxFileTypePtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetMimeType(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetMimeType,(self,) + _args, _kwargs)
+ return val
+ def GetMimeTypes(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetMimeTypes,(self,) + _args, _kwargs)
+ return val
+ def GetExtensions(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetExtensions,(self,) + _args, _kwargs)
+ return val
+ def GetIcon(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetIcon,(self,) + _args, _kwargs)
+ if val: val = wxIconPtr(val) ; val.thisown = 1
+ return val
+ def GetIconInfo(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetIconInfo,(self,) + _args, _kwargs)
+ return val
+ def GetDescription(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetDescription,(self,) + _args, _kwargs)
+ return val
+ def GetOpenCommand(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetOpenCommand,(self,) + _args, _kwargs)
+ return val
+ def GetPrintCommand(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetPrintCommand,(self,) + _args, _kwargs)
+ return val
+ def GetAllCommands(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_GetAllCommands,(self,) + _args, _kwargs)
+ return val
+ def SetCommand(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_SetCommand,(self,) + _args, _kwargs)
+ return val
+ def SetDefaultIcon(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_SetDefaultIcon,(self,) + _args, _kwargs)
+ return val
+ def Unassociate(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs)
+ return val
+ def __del__(self,misc2c=misc2c):
+ if self.thisown == 1 :
+ misc2c.delete_wxFileType(self)
+ def __repr__(self):
+ return "<C wxFileType instance at %s>" % (self.this,)
+class wxFileType(wxFileTypePtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxFileType,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxMimeTypesManagerPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Initialize(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_Initialize,(self,) + _args, _kwargs)
+ return val
+ def ClearData(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_ClearData,(self,) + _args, _kwargs)
+ return val
+ def GetFileTypeFromExtension(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension,(self,) + _args, _kwargs)
+ if val: val = wxFileTypePtr(val) ; val.thisown = 1
+ return val
+ def GetFileTypeFromMimeType(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType,(self,) + _args, _kwargs)
+ if val: val = wxFileTypePtr(val) ; val.thisown = 1
+ return val
+ def ReadMailcap(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_ReadMailcap,(self,) + _args, _kwargs)
+ return val
+ def ReadMimeTypes(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes,(self,) + _args, _kwargs)
+ return val
+ def EnumAllFileTypes(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes,(self,) + _args, _kwargs)
+ return val
+ def AddFallback(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_AddFallback,(self,) + _args, _kwargs)
+ return val
+ def Associate(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_Associate,(self,) + _args, _kwargs)
+ if val: val = wxFileTypePtr(val) ; val.thisown = 1
+ return val
+ def Unassociate(self, *_args, **_kwargs):
+ val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs)
+ return val
+ def __del__(self,misc2c=misc2c):
+ if self.thisown == 1 :
+ misc2c.delete_wxMimeTypesManager(self)
+ def __repr__(self):
+ return "<C wxMimeTypesManager instance at %s>" % (self.this,)
+class wxMimeTypesManager(wxMimeTypesManagerPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxMimeTypesManager,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxFileHistoryPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,misc2c=misc2c):
+ if self.thisown == 1 :
+ misc2c.delete_wxFileHistory(self)
+ def AddFileToHistory(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_AddFileToHistory,(self,) + _args, _kwargs)
+ return val
+ def RemoveFileFromHistory(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_RemoveFileFromHistory,(self,) + _args, _kwargs)
+ return val
+ def GetMaxFiles(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_GetMaxFiles,(self,) + _args, _kwargs)
+ return val
+ def UseMenu(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_UseMenu,(self,) + _args, _kwargs)
+ return val
+ def RemoveMenu(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_RemoveMenu,(self,) + _args, _kwargs)
+ return val
+ def Load(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_Load,(self,) + _args, _kwargs)
+ return val
+ def Save(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_Save,(self,) + _args, _kwargs)
+ return val
+ def AddFilesToMenu(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_AddFilesToMenu,(self,) + _args, _kwargs)
+ return val
+ def AddFilesToThisMenu(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_AddFilesToThisMenu,(self,) + _args, _kwargs)
+ return val
+ def GetHistoryFile(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_GetHistoryFile,(self,) + _args, _kwargs)
+ return val
+ def GetCount(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_GetCount,(self,) + _args, _kwargs)
+ return val
+ def GetNoHistoryFiles(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_GetNoHistoryFiles,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxFileHistory instance at %s>" % (self.this,)
+class wxFileHistory(wxFileHistoryPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxFileHistory,_args,_kwargs)
+ self.thisown = 1
+
+
+
+