Add wx.ImageDataObject

This commit is contained in:
Robin Dunn
2021-01-11 11:56:39 -08:00
parent 79bc7431cd
commit 969b1b2ddc
2 changed files with 7 additions and 1 deletions

View File

@@ -1927,6 +1927,7 @@
"IdleMode":"wx.",
"Image":"wx.",
"ImageAlphaBlendMode":"wx.",
"ImageDataObject":"wx.",
"ImageFileProperty":"wx.propgrid.",
"ImageFromBitmap":"wx.",
"ImageFromBuffer":"wx.",

View File

@@ -28,6 +28,7 @@ ITEMS = [ 'wxDataFormat',
'wxURLDataObject',
'wxFileDataObject',
'wxHTMLDataObject',
'wxImageDataObject'
]
@@ -391,6 +392,11 @@ def run():
addBaseVirtuals(c)
addSimpleVirtuals(c)
#------------------------------------------------------------
c = module.find('wxImageDataObject')
addGetAllFormats(c)
addBaseVirtuals(c)
#------------------------------------------------------------
c = module.find('wxFileDataObject')
addGetAllFormats(c)
@@ -404,7 +410,6 @@ def run():
addSimpleVirtuals(c)
#------------------------------------------------------------
module.addPyCode("PyDataObjectSimple = wx.deprecated(DataObjectSimple), 'Use DataObjectSimple instead.'")
module.addPyCode("PyTextDataObject = wx.deprecated(TextDataObject, 'Use TextDataObject instead.')")