예제 #1
0
 def __init__(self, value=''):
     wx.DataObject.__init__(self)
     self.myFormats = [wx.DataFormat(wx.DF_TEXT)]
     self.myData = wtc.mybytes(value)
예제 #2
0
 def __init__(self, value=''):
     wx.DataObjectSimple.__init__(self)
     self.SetFormat(wx.DataFormat(wx.DF_TEXT))
     self.myData = wtc.mybytes(value)
예제 #3
0
 def __init__(self, value=''):
     wx.DataObjectSimple.__init__(self)
     self.SetFormat(wx.DataFormat("My Custom Data Format"))
     self.myData = wtc.mybytes(value)
예제 #4
0
 def __init__(self, value=''):
     wx.DataObject.__init__(self)
     self.myFormats = [wx.DataFormat("My Custom DataFormat")]
     self.myData = wtc.mybytes(value)
예제 #5
0
 def __init__(self, value=''):
     wx.DataObject.__init__(self)
     self.myFormats = [wx.DataFormat(wx.DF_TEXT)]                
     self.myData = wtc.mybytes(value)
예제 #6
0
 def __init__(self, value=''):
     wx.DataObjectSimple.__init__(self)
     self.SetFormat(wx.DataFormat("My Custom Data Format"))
     self.myData = wtc.mybytes(value)
예제 #7
0
 def __init__(self, value=''):
     wx.DataObjectSimple.__init__(self)
     self.SetFormat(wx.DataFormat(wx.DF_TEXT))
     self.myData = wtc.mybytes(value)
예제 #8
0
 def __init__(self, value=''):
     wx.DataObject.__init__(self)
     self.myFormats = [wx.DataFormat("My Custom DataFormat")]                
     self.myData = wtc.mybytes(value)