def __init__(self, value=''): wx.DataObject.__init__(self) self.myFormats = [wx.DataFormat(wx.DF_TEXT)] self.myData = wtc.mybytes(value)
def __init__(self, value=''): wx.DataObjectSimple.__init__(self) self.SetFormat(wx.DataFormat(wx.DF_TEXT)) self.myData = wtc.mybytes(value)
def __init__(self, value=''): wx.DataObjectSimple.__init__(self) self.SetFormat(wx.DataFormat("My Custom Data Format")) self.myData = wtc.mybytes(value)
def __init__(self, value=''): wx.DataObject.__init__(self) self.myFormats = [wx.DataFormat("My Custom DataFormat")] self.myData = wtc.mybytes(value)