+class wxFileTypeInfoPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def IsValid(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_IsValid(self, *_args, **_kwargs)
+ return val
+ def SetIcon(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_SetIcon(self, *_args, **_kwargs)
+ return val
+ def SetShortDesc(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_SetShortDesc(self, *_args, **_kwargs)
+ return val
+ def GetMimeType(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetMimeType(self, *_args, **_kwargs)
+ return val
+ def GetOpenCommand(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetOpenCommand(self, *_args, **_kwargs)
+ return val
+ def GetPrintCommand(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetPrintCommand(self, *_args, **_kwargs)
+ return val
+ def GetShortDesc(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetShortDesc(self, *_args, **_kwargs)
+ return val
+ def GetDescription(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetDescription(self, *_args, **_kwargs)
+ return val
+ def GetExtensions(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetExtensions(self, *_args, **_kwargs)
+ return val
+ def GetExtensionsCount(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetExtensionsCount(self, *_args, **_kwargs)
+ return val
+ def GetIconFile(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetIconFile(self, *_args, **_kwargs)
+ return val
+ def GetIconIndex(self, *_args, **_kwargs):
+ val = misc2c.wxFileTypeInfo_GetIconIndex(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxFileTypeInfo(wxFileTypeInfoPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = misc2c.new_wxFileTypeInfo(*_args,**_kwargs)
+ self.thisown = 1
+
+
+
+def wxFileTypeInfoSequence(*_args,**_kwargs):
+ val = wxFileTypeInfoPtr(misc2c.new_wxFileTypeInfoSequence(*_args,**_kwargs))
+ val.thisown = 1
+ return val
+
+def wxNullFileTypeInfo(*_args,**_kwargs):
+ val = wxFileTypeInfoPtr(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 = misc2c.wxFileType_GetMimeType(self, *_args, **_kwargs)
+ return val
+ def GetMimeTypes(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetMimeTypes(self, *_args, **_kwargs)
+ return val
+ def GetExtensions(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetExtensions(self, *_args, **_kwargs)
+ return val
+ def GetIcon(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetIcon(self, *_args, **_kwargs)
+ if val: val = wxIconPtr(val) ; val.thisown = 1
+ return val
+ def GetIconInfo(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetIconInfo(self, *_args, **_kwargs)
+ return val
+ def GetDescription(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetDescription(self, *_args, **_kwargs)
+ return val
+ def GetOpenCommand(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetOpenCommand(self, *_args, **_kwargs)
+ return val
+ def GetPrintCommand(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetPrintCommand(self, *_args, **_kwargs)
+ return val
+ def GetAllCommands(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_GetAllCommands(self, *_args, **_kwargs)
+ return val
+ def SetCommand(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_SetCommand(self, *_args, **_kwargs)
+ return val
+ def SetDefaultIcon(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_SetDefaultIcon(self, *_args, **_kwargs)
+ return val
+ def Unassociate(self, *_args, **_kwargs):
+ val = misc2c.wxFileType_Unassociate(self, *_args, **_kwargs)
+ return val
+ def __del__(self, delfunc=misc2c.delete_wxFileType):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxFileType(wxFileTypePtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = 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 = misc2c.wxMimeTypesManager_Initialize(self, *_args, **_kwargs)
+ return val
+ def ClearData(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_ClearData(self, *_args, **_kwargs)
+ return val
+ def GetFileTypeFromExtension(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_GetFileTypeFromExtension(self, *_args, **_kwargs)
+ if val: val = wxFileTypePtr(val) ; val.thisown = 1
+ return val
+ def GetFileTypeFromMimeType(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_GetFileTypeFromMimeType(self, *_args, **_kwargs)
+ if val: val = wxFileTypePtr(val) ; val.thisown = 1
+ return val
+ def ReadMailcap(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_ReadMailcap(self, *_args, **_kwargs)
+ return val
+ def ReadMimeTypes(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_ReadMimeTypes(self, *_args, **_kwargs)
+ return val
+ def EnumAllFileTypes(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_EnumAllFileTypes(self, *_args, **_kwargs)
+ return val
+ def AddFallback(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_AddFallback(self, *_args, **_kwargs)
+ return val
+ def Associate(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_Associate(self, *_args, **_kwargs)
+ if val: val = wxFileTypePtr(val) ; val.thisown = 1
+ return val
+ def Unassociate(self, *_args, **_kwargs):
+ val = misc2c.wxMimeTypesManager_Unassociate(self, *_args, **_kwargs)
+ return val
+ def __del__(self, delfunc=misc2c.delete_wxMimeTypesManager):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxMimeTypesManager(wxMimeTypesManagerPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = misc2c.new_wxMimeTypesManager(*_args,**_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxArtProviderPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = misc2c.wxArtProvider__setCallbackInfo(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxArtProvider(wxArtProviderPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = misc2c.new_wxArtProvider(*_args,**_kwargs)
+ self.thisown = 1
+ self._setCallbackInfo(self, wxArtProvider)
+
+
+
+
+class wxFileHistoryPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self, delfunc=misc2c.delete_wxFileHistory):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
+ def AddFileToHistory(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_AddFileToHistory(self, *_args, **_kwargs)
+ return val
+ def RemoveFileFromHistory(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_RemoveFileFromHistory(self, *_args, **_kwargs)
+ return val
+ def GetMaxFiles(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_GetMaxFiles(self, *_args, **_kwargs)
+ return val
+ def UseMenu(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_UseMenu(self, *_args, **_kwargs)
+ return val
+ def RemoveMenu(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_RemoveMenu(self, *_args, **_kwargs)
+ return val
+ def Load(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_Load(self, *_args, **_kwargs)
+ return val
+ def Save(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_Save(self, *_args, **_kwargs)
+ return val
+ def AddFilesToMenu(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_AddFilesToMenu(self, *_args, **_kwargs)
+ return val
+ def AddFilesToThisMenu(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_AddFilesToThisMenu(self, *_args, **_kwargs)
+ return val
+ def GetHistoryFile(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_GetHistoryFile(self, *_args, **_kwargs)
+ return val
+ def GetCount(self, *_args, **_kwargs):
+ val = misc2c.wxFileHistory_GetCount(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+ GetNoHistoryFiles = GetCount
+class wxFileHistory(wxFileHistoryPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = misc2c.new_wxFileHistory(*_args,**_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxEffectsPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetHighlightColour(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_GetHighlightColour(self, *_args, **_kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def GetLightShadow(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_GetLightShadow(self, *_args, **_kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def GetFaceColour(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_GetFaceColour(self, *_args, **_kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def GetMediumShadow(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_GetMediumShadow(self, *_args, **_kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def GetDarkShadow(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_GetDarkShadow(self, *_args, **_kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def SetHighlightColour(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_SetHighlightColour(self, *_args, **_kwargs)
+ return val
+ def SetLightShadow(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_SetLightShadow(self, *_args, **_kwargs)
+ return val
+ def SetFaceColour(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_SetFaceColour(self, *_args, **_kwargs)
+ return val
+ def SetMediumShadow(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_SetMediumShadow(self, *_args, **_kwargs)
+ return val
+ def SetDarkShadow(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_SetDarkShadow(self, *_args, **_kwargs)
+ return val
+ def Set(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_Set(self, *_args, **_kwargs)
+ return val
+ def DrawSunkenEdge(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_DrawSunkenEdge(self, *_args, **_kwargs)
+ return val
+ def TileBitmap(self, *_args, **_kwargs):
+ val = misc2c.wxEffects_TileBitmap(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxEffects(wxEffectsPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = misc2c.new_wxEffects(*_args,**_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxSingleInstanceCheckerPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self, delfunc=misc2c.delete_wxSingleInstanceChecker):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
+ def Create(self, *_args, **_kwargs):
+ val = misc2c.wxSingleInstanceChecker_Create(self, *_args, **_kwargs)
+ return val
+ def IsAnotherRunning(self, *_args, **_kwargs):
+ val = misc2c.wxSingleInstanceChecker_IsAnotherRunning(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxSingleInstanceChecker(wxSingleInstanceCheckerPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = misc2c.new_wxSingleInstanceChecker(*_args,**_kwargs)
+ self.thisown = 1
+
+
+
+def wxPreSingleInstanceChecker(*_args,**_kwargs):
+ val = wxSingleInstanceCheckerPtr(misc2c.new_wxPreSingleInstanceChecker(*_args,**_kwargs))
+ val.thisown = 1
+ return val
+
+