+class TimeSpan(object):
+ Seconds = staticmethod(_misc.TimeSpan_Seconds)
+ Second = staticmethod(_misc.TimeSpan_Second)
+ Minutes = staticmethod(_misc.TimeSpan_Minutes)
+ Minute = staticmethod(_misc.TimeSpan_Minute)
+ Hours = staticmethod(_misc.TimeSpan_Hours)
+ Hour = staticmethod(_misc.TimeSpan_Hour)
+ Days = staticmethod(_misc.TimeSpan_Days)
+ Day = staticmethod(_misc.TimeSpan_Day)
+ Weeks = staticmethod(_misc.TimeSpan_Weeks)
+ Week = staticmethod(_misc.TimeSpan_Week)
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_TimeSpan(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_misc.delete_TimeSpan):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ def Add(*args, **kwargs): return _misc.TimeSpan_Add(*args, **kwargs)
+ def Subtract(*args, **kwargs): return _misc.TimeSpan_Subtract(*args, **kwargs)
+ def Multiply(*args, **kwargs): return _misc.TimeSpan_Multiply(*args, **kwargs)
+ def Neg(*args, **kwargs): return _misc.TimeSpan_Neg(*args, **kwargs)
+ def Abs(*args, **kwargs): return _misc.TimeSpan_Abs(*args, **kwargs)
+ def __iadd__(*args, **kwargs): return _misc.TimeSpan___iadd__(*args, **kwargs)
+ def __isub__(*args, **kwargs): return _misc.TimeSpan___isub__(*args, **kwargs)
+ def __imul__(*args, **kwargs): return _misc.TimeSpan___imul__(*args, **kwargs)
+ def __neg__(*args, **kwargs): return _misc.TimeSpan___neg__(*args, **kwargs)
+ def __add__(*args, **kwargs): return _misc.TimeSpan___add__(*args, **kwargs)
+ def __sub__(*args, **kwargs): return _misc.TimeSpan___sub__(*args, **kwargs)
+ def __mul__(*args, **kwargs): return _misc.TimeSpan___mul__(*args, **kwargs)
+ def __rmul__(*args, **kwargs): return _misc.TimeSpan___rmul__(*args, **kwargs)
+ def __lt__(*args, **kwargs): return _misc.TimeSpan___lt__(*args, **kwargs)
+ def __le__(*args, **kwargs): return _misc.TimeSpan___le__(*args, **kwargs)
+ def __gt__(*args, **kwargs): return _misc.TimeSpan___gt__(*args, **kwargs)
+ def __ge__(*args, **kwargs): return _misc.TimeSpan___ge__(*args, **kwargs)
+ def __eq__(*args, **kwargs): return _misc.TimeSpan___eq__(*args, **kwargs)
+ def __ne__(*args, **kwargs): return _misc.TimeSpan___ne__(*args, **kwargs)
+ def IsNull(*args, **kwargs): return _misc.TimeSpan_IsNull(*args, **kwargs)
+ def IsPositive(*args, **kwargs): return _misc.TimeSpan_IsPositive(*args, **kwargs)
+ def IsNegative(*args, **kwargs): return _misc.TimeSpan_IsNegative(*args, **kwargs)
+ def IsEqualTo(*args, **kwargs): return _misc.TimeSpan_IsEqualTo(*args, **kwargs)
+ def IsLongerThan(*args, **kwargs): return _misc.TimeSpan_IsLongerThan(*args, **kwargs)
+ def IsShorterThan(*args, **kwargs): return _misc.TimeSpan_IsShorterThan(*args, **kwargs)
+ def GetWeeks(*args, **kwargs): return _misc.TimeSpan_GetWeeks(*args, **kwargs)
+ def GetDays(*args, **kwargs): return _misc.TimeSpan_GetDays(*args, **kwargs)
+ def GetHours(*args, **kwargs): return _misc.TimeSpan_GetHours(*args, **kwargs)
+ def GetMinutes(*args, **kwargs): return _misc.TimeSpan_GetMinutes(*args, **kwargs)
+ def GetSeconds(*args, **kwargs): return _misc.TimeSpan_GetSeconds(*args, **kwargs)
+ def GetMilliseconds(*args, **kwargs): return _misc.TimeSpan_GetMilliseconds(*args, **kwargs)
+ def Format(*args, **kwargs): return _misc.TimeSpan_Format(*args, **kwargs)
+ def __repr__(self):
+ return '<wxTimeSpan: \"%s\" at %s>' % ( self.Format(), self.this)
+ def __str__(self):
+ return self.Format()
+
+
+class TimeSpanPtr(TimeSpan):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = TimeSpan
+_misc.TimeSpan_swigregister(TimeSpanPtr)
+
+TimeSpan_Seconds = _misc.TimeSpan_Seconds
+
+TimeSpan_Second = _misc.TimeSpan_Second
+
+TimeSpan_Minutes = _misc.TimeSpan_Minutes
+
+TimeSpan_Minute = _misc.TimeSpan_Minute
+
+TimeSpan_Hours = _misc.TimeSpan_Hours
+
+TimeSpan_Hour = _misc.TimeSpan_Hour
+
+TimeSpan_Days = _misc.TimeSpan_Days
+
+TimeSpan_Day = _misc.TimeSpan_Day
+
+TimeSpan_Weeks = _misc.TimeSpan_Weeks
+
+TimeSpan_Week = _misc.TimeSpan_Week
+
+class DateSpan(object):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_DateSpan(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_misc.delete_DateSpan):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ Days = staticmethod(_misc.DateSpan_Days)
+ Day = staticmethod(_misc.DateSpan_Day)
+ Weeks = staticmethod(_misc.DateSpan_Weeks)
+ Week = staticmethod(_misc.DateSpan_Week)
+ Months = staticmethod(_misc.DateSpan_Months)
+ Month = staticmethod(_misc.DateSpan_Month)
+ Years = staticmethod(_misc.DateSpan_Years)
+ Year = staticmethod(_misc.DateSpan_Year)
+ def SetYears(*args, **kwargs): return _misc.DateSpan_SetYears(*args, **kwargs)
+ def SetMonths(*args, **kwargs): return _misc.DateSpan_SetMonths(*args, **kwargs)
+ def SetWeeks(*args, **kwargs): return _misc.DateSpan_SetWeeks(*args, **kwargs)
+ def SetDays(*args, **kwargs): return _misc.DateSpan_SetDays(*args, **kwargs)
+ def GetYears(*args, **kwargs): return _misc.DateSpan_GetYears(*args, **kwargs)
+ def GetMonths(*args, **kwargs): return _misc.DateSpan_GetMonths(*args, **kwargs)
+ def GetWeeks(*args, **kwargs): return _misc.DateSpan_GetWeeks(*args, **kwargs)
+ def GetDays(*args, **kwargs): return _misc.DateSpan_GetDays(*args, **kwargs)
+ def GetTotalDays(*args, **kwargs): return _misc.DateSpan_GetTotalDays(*args, **kwargs)
+ def Add(*args, **kwargs): return _misc.DateSpan_Add(*args, **kwargs)
+ def Subtract(*args, **kwargs): return _misc.DateSpan_Subtract(*args, **kwargs)
+ def Neg(*args, **kwargs): return _misc.DateSpan_Neg(*args, **kwargs)
+ def Multiply(*args, **kwargs): return _misc.DateSpan_Multiply(*args, **kwargs)
+ def __iadd__(*args, **kwargs): return _misc.DateSpan___iadd__(*args, **kwargs)
+ def __isub__(*args, **kwargs): return _misc.DateSpan___isub__(*args, **kwargs)
+ def __neg__(*args, **kwargs): return _misc.DateSpan___neg__(*args, **kwargs)
+ def __imul__(*args, **kwargs): return _misc.DateSpan___imul__(*args, **kwargs)
+ def __add__(*args, **kwargs): return _misc.DateSpan___add__(*args, **kwargs)
+ def __sub__(*args, **kwargs): return _misc.DateSpan___sub__(*args, **kwargs)
+ def __mul__(*args, **kwargs): return _misc.DateSpan___mul__(*args, **kwargs)
+ def __rmul__(*args, **kwargs): return _misc.DateSpan___rmul__(*args, **kwargs)
+ def __eq__(*args, **kwargs): return _misc.DateSpan___eq__(*args, **kwargs)
+ def __ne__(*args, **kwargs): return _misc.DateSpan___ne__(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class DateSpanPtr(DateSpan):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DateSpan
+_misc.DateSpan_swigregister(DateSpanPtr)
+
+DateSpan_Days = _misc.DateSpan_Days
+
+DateSpan_Day = _misc.DateSpan_Day
+
+DateSpan_Weeks = _misc.DateSpan_Weeks
+
+DateSpan_Week = _misc.DateSpan_Week
+
+DateSpan_Months = _misc.DateSpan_Months
+
+DateSpan_Month = _misc.DateSpan_Month
+
+DateSpan_Years = _misc.DateSpan_Years
+
+DateSpan_Year = _misc.DateSpan_Year
+
+
+GetLocalTime = _misc.GetLocalTime
+
+GetUTCTime = _misc.GetUTCTime
+
+GetCurrentTime = _misc.GetCurrentTime
+
+GetLocalTimeMillis = _misc.GetLocalTimeMillis
+#---------------------------------------------------------------------------
+
+DF_INVALID = _misc.DF_INVALID
+DF_TEXT = _misc.DF_TEXT
+DF_BITMAP = _misc.DF_BITMAP
+DF_METAFILE = _misc.DF_METAFILE
+DF_SYLK = _misc.DF_SYLK
+DF_DIF = _misc.DF_DIF
+DF_TIFF = _misc.DF_TIFF
+DF_OEMTEXT = _misc.DF_OEMTEXT
+DF_DIB = _misc.DF_DIB
+DF_PALETTE = _misc.DF_PALETTE
+DF_PENDATA = _misc.DF_PENDATA
+DF_RIFF = _misc.DF_RIFF
+DF_WAVE = _misc.DF_WAVE
+DF_UNICODETEXT = _misc.DF_UNICODETEXT
+DF_ENHMETAFILE = _misc.DF_ENHMETAFILE
+DF_FILENAME = _misc.DF_FILENAME
+DF_LOCALE = _misc.DF_LOCALE
+DF_PRIVATE = _misc.DF_PRIVATE
+DF_HTML = _misc.DF_HTML
+DF_MAX = _misc.DF_MAX
+class DataFormat(object):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_DataFormat(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_misc.delete_DataFormat):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ def __eq__(*args): return _misc.DataFormat___eq__(*args)
+ def __ne__(*args): return _misc.DataFormat___ne__(*args)
+ def SetType(*args, **kwargs): return _misc.DataFormat_SetType(*args, **kwargs)
+ def GetType(*args, **kwargs): return _misc.DataFormat_GetType(*args, **kwargs)
+ def GetId(*args, **kwargs): return _misc.DataFormat_GetId(*args, **kwargs)
+ def SetId(*args, **kwargs): return _misc.DataFormat_SetId(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class DataFormatPtr(DataFormat):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DataFormat
+_misc.DataFormat_swigregister(DataFormatPtr)
+
+def CustomDataFormat(*args, **kwargs):
+ val = _misc.new_CustomDataFormat(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+class DataObject(object):
+ Get = _misc.DataObject_Get
+ Set = _misc.DataObject_Set
+ Both = _misc.DataObject_Both
+ def __del__(self, destroy=_misc.delete_DataObject):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ def GetPreferredFormat(*args, **kwargs): return _misc.DataObject_GetPreferredFormat(*args, **kwargs)
+ def GetFormatCount(*args, **kwargs): return _misc.DataObject_GetFormatCount(*args, **kwargs)
+ def IsSupported(*args, **kwargs): return _misc.DataObject_IsSupported(*args, **kwargs)
+ def GetDataSize(*args, **kwargs): return _misc.DataObject_GetDataSize(*args, **kwargs)
+ def GetAllFormats(*args, **kwargs): return _misc.DataObject_GetAllFormats(*args, **kwargs)
+ def GetDataHere(*args, **kwargs): return _misc.DataObject_GetDataHere(*args, **kwargs)
+ def SetData(*args, **kwargs): return _misc.DataObject_SetData(*args, **kwargs)
+ def __init__(self): raise RuntimeError, "No constructor defined"
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class DataObjectPtr(DataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DataObject
+_misc.DataObject_swigregister(DataObjectPtr)
+FormatInvalid = cvar.FormatInvalid
+
+class DataObjectSimple(DataObject):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_DataObjectSimple(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetFormat(*args, **kwargs): return _misc.DataObjectSimple_GetFormat(*args, **kwargs)
+ def SetFormat(*args, **kwargs): return _misc.DataObjectSimple_SetFormat(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class DataObjectSimplePtr(DataObjectSimple):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DataObjectSimple
+_misc.DataObjectSimple_swigregister(DataObjectSimplePtr)
+
+class PyDataObjectSimple(DataObjectSimple):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_PyDataObjectSimple(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, PyDataObjectSimple)
+ def _setCallbackInfo(*args, **kwargs): return _misc.PyDataObjectSimple__setCallbackInfo(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class PyDataObjectSimplePtr(PyDataObjectSimple):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = PyDataObjectSimple
+_misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr)
+
+class DataObjectComposite(DataObject):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_DataObjectComposite(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def Add(*args, **kwargs):
+ val = _misc.DataObjectComposite_Add(*args, **kwargs)
+ args[1].thisown = 0
+ return val
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class DataObjectCompositePtr(DataObjectComposite):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DataObjectComposite
+_misc.DataObjectComposite_swigregister(DataObjectCompositePtr)
+
+class TextDataObject(DataObjectSimple):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_TextDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetTextLength(*args, **kwargs): return _misc.TextDataObject_GetTextLength(*args, **kwargs)
+ def GetText(*args, **kwargs): return _misc.TextDataObject_GetText(*args, **kwargs)
+ def SetText(*args, **kwargs): return _misc.TextDataObject_SetText(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class TextDataObjectPtr(TextDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = TextDataObject
+_misc.TextDataObject_swigregister(TextDataObjectPtr)
+
+class PyTextDataObject(TextDataObject):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_PyTextDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, PyTextDataObject)
+ def _setCallbackInfo(*args, **kwargs): return _misc.PyTextDataObject__setCallbackInfo(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class PyTextDataObjectPtr(PyTextDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = PyTextDataObject
+_misc.PyTextDataObject_swigregister(PyTextDataObjectPtr)
+
+class BitmapDataObject(DataObjectSimple):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_BitmapDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetBitmap(*args, **kwargs): return _misc.BitmapDataObject_GetBitmap(*args, **kwargs)
+ def SetBitmap(*args, **kwargs): return _misc.BitmapDataObject_SetBitmap(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class BitmapDataObjectPtr(BitmapDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = BitmapDataObject
+_misc.BitmapDataObject_swigregister(BitmapDataObjectPtr)
+
+class PyBitmapDataObject(BitmapDataObject):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_PyBitmapDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, PyBitmapDataObject)
+ def _setCallbackInfo(*args, **kwargs): return _misc.PyBitmapDataObject__setCallbackInfo(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class PyBitmapDataObjectPtr(PyBitmapDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = PyBitmapDataObject
+_misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr)
+
+class FileDataObject(DataObjectSimple):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_FileDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetFilenames(*args, **kwargs): return _misc.FileDataObject_GetFilenames(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class FileDataObjectPtr(FileDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = FileDataObject
+_misc.FileDataObject_swigregister(FileDataObjectPtr)
+
+class CustomDataObject(DataObjectSimple):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_CustomDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def TakeData(*args, **kwargs): return _misc.CustomDataObject_TakeData(*args, **kwargs)
+ def SetData(*args, **kwargs): return _misc.CustomDataObject_SetData(*args, **kwargs)
+ def GetSize(*args, **kwargs): return _misc.CustomDataObject_GetSize(*args, **kwargs)
+ def GetData(*args, **kwargs): return _misc.CustomDataObject_GetData(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class CustomDataObjectPtr(CustomDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = CustomDataObject
+_misc.CustomDataObject_swigregister(CustomDataObjectPtr)
+
+class URLDataObject(DataObjectComposite):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_URLDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetURL(*args, **kwargs): return _misc.URLDataObject_GetURL(*args, **kwargs)
+ def SetURL(*args, **kwargs): return _misc.URLDataObject_SetURL(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class URLDataObjectPtr(URLDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = URLDataObject
+_misc.URLDataObject_swigregister(URLDataObjectPtr)
+
+class MetafileDataObject(DataObjectSimple):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_MetafileDataObject(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def SetMetafile(*args, **kwargs): return _misc.MetafileDataObject_SetMetafile(*args, **kwargs)
+ def GetMetafile(*args, **kwargs): return _misc.MetafileDataObject_GetMetafile(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class MetafileDataObjectPtr(MetafileDataObject):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = MetafileDataObject
+_misc.MetafileDataObject_swigregister(MetafileDataObjectPtr)
+
+#---------------------------------------------------------------------------
+
+Drag_CopyOnly = _misc.Drag_CopyOnly
+Drag_AllowMove = _misc.Drag_AllowMove
+Drag_DefaultMove = _misc.Drag_DefaultMove
+DragError = _misc.DragError
+DragNone = _misc.DragNone
+DragCopy = _misc.DragCopy
+DragMove = _misc.DragMove
+DragLink = _misc.DragLink
+DragCancel = _misc.DragCancel
+
+IsDragResultOk = _misc.IsDragResultOk
+class DropSource(object):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_DropSource(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def _setCallbackInfo(*args, **kwargs): return _misc.DropSource__setCallbackInfo(*args, **kwargs)
+ def __del__(self, destroy=_misc.delete_DropSource):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ def SetData(*args, **kwargs): return _misc.DropSource_SetData(*args, **kwargs)
+ def GetDataObject(*args, **kwargs): return _misc.DropSource_GetDataObject(*args, **kwargs)
+ def SetCursor(*args, **kwargs): return _misc.DropSource_SetCursor(*args, **kwargs)
+ def DoDragDrop(*args, **kwargs): return _misc.DropSource_DoDragDrop(*args, **kwargs)
+ def base_GiveFeedback(*args, **kwargs): return _misc.DropSource_base_GiveFeedback(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class DropSourcePtr(DropSource):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DropSource
+_misc.DropSource_swigregister(DropSourcePtr)
+
+class DropTarget(object):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_DropTarget(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ if args: args[1].thisown = 0; self._setCallbackInfo(self, DropTarget)
+ def _setCallbackInfo(*args, **kwargs): return _misc.DropTarget__setCallbackInfo(*args, **kwargs)
+ def __del__(self, destroy=_misc.delete_DropTarget):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ def GetDataObject(*args, **kwargs): return _misc.DropTarget_GetDataObject(*args, **kwargs)
+ def SetDataObject(*args, **kwargs):
+ val = _misc.DropTarget_SetDataObject(*args, **kwargs)
+ args[1].thisown = 0
+ return val
+ def base_OnEnter(*args, **kwargs): return _misc.DropTarget_base_OnEnter(*args, **kwargs)
+ def base_OnDragOver(*args, **kwargs): return _misc.DropTarget_base_OnDragOver(*args, **kwargs)
+ def base_OnLeave(*args, **kwargs): return _misc.DropTarget_base_OnLeave(*args, **kwargs)
+ def base_OnDrop(*args, **kwargs): return _misc.DropTarget_base_OnDrop(*args, **kwargs)
+ def GetData(*args, **kwargs): return _misc.DropTarget_GetData(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class DropTargetPtr(DropTarget):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DropTarget
+_misc.DropTarget_swigregister(DropTargetPtr)
+
+PyDropTarget = DropTarget
+class TextDropTarget(DropTarget):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_TextDropTarget(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, TextDropTarget)
+ def _setCallbackInfo(*args, **kwargs): return _misc.TextDropTarget__setCallbackInfo(*args, **kwargs)
+ def base_OnEnter(*args, **kwargs): return _misc.TextDropTarget_base_OnEnter(*args, **kwargs)
+ def base_OnDragOver(*args, **kwargs): return _misc.TextDropTarget_base_OnDragOver(*args, **kwargs)
+ def base_OnLeave(*args, **kwargs): return _misc.TextDropTarget_base_OnLeave(*args, **kwargs)
+ def base_OnDrop(*args, **kwargs): return _misc.TextDropTarget_base_OnDrop(*args, **kwargs)
+ def base_OnData(*args, **kwargs): return _misc.TextDropTarget_base_OnData(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class TextDropTargetPtr(TextDropTarget):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = TextDropTarget
+_misc.TextDropTarget_swigregister(TextDropTargetPtr)
+
+class FileDropTarget(DropTarget):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_FileDropTarget(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, FileDropTarget)
+ def _setCallbackInfo(*args, **kwargs): return _misc.FileDropTarget__setCallbackInfo(*args, **kwargs)
+ def base_OnEnter(*args, **kwargs): return _misc.FileDropTarget_base_OnEnter(*args, **kwargs)
+ def base_OnDragOver(*args, **kwargs): return _misc.FileDropTarget_base_OnDragOver(*args, **kwargs)
+ def base_OnLeave(*args, **kwargs): return _misc.FileDropTarget_base_OnLeave(*args, **kwargs)
+ def base_OnDrop(*args, **kwargs): return _misc.FileDropTarget_base_OnDrop(*args, **kwargs)
+ def base_OnData(*args, **kwargs): return _misc.FileDropTarget_base_OnData(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class FileDropTargetPtr(FileDropTarget):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = FileDropTarget
+_misc.FileDropTarget_swigregister(FileDropTargetPtr)
+
+#---------------------------------------------------------------------------
+
+class Clipboard(core.Object):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_Clipboard(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_misc.delete_Clipboard):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ def Open(*args, **kwargs): return _misc.Clipboard_Open(*args, **kwargs)
+ def Close(*args, **kwargs): return _misc.Clipboard_Close(*args, **kwargs)
+ def IsOpened(*args, **kwargs): return _misc.Clipboard_IsOpened(*args, **kwargs)
+ def AddData(*args, **kwargs): return _misc.Clipboard_AddData(*args, **kwargs)
+ def SetData(*args, **kwargs): return _misc.Clipboard_SetData(*args, **kwargs)
+ def IsSupported(*args, **kwargs): return _misc.Clipboard_IsSupported(*args, **kwargs)
+ def GetData(*args, **kwargs): return _misc.Clipboard_GetData(*args, **kwargs)
+ def Clear(*args, **kwargs): return _misc.Clipboard_Clear(*args, **kwargs)
+ def Flush(*args, **kwargs): return _misc.Clipboard_Flush(*args, **kwargs)
+ def UsePrimarySelection(*args, **kwargs): return _misc.Clipboard_UsePrimarySelection(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class ClipboardPtr(Clipboard):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = Clipboard
+_misc.Clipboard_swigregister(ClipboardPtr)
+
+class ClipboardLocker(object):
+ def __init__(self, *args, **kwargs):
+ newobj = _misc.new_ClipboardLocker(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_misc.delete_ClipboardLocker):
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+ def __nonzero__(*args, **kwargs): return _misc.ClipboardLocker___nonzero__(*args, **kwargs)
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+
+class ClipboardLockerPtr(ClipboardLocker):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = ClipboardLocker
+_misc.ClipboardLocker_swigregister(ClipboardLockerPtr)
+TheClipboard = cvar.TheClipboard