mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-07 10:20:32 +02:00
wxObjectDataPtr, wxGridCell*Ptr, and other changes needed for updated wxWidgets
This commit is contained in:
@@ -1419,6 +1419,7 @@
|
|||||||
"GridBagSizer":"wx.",
|
"GridBagSizer":"wx.",
|
||||||
"GridCellAttr":"wx.grid.",
|
"GridCellAttr":"wx.grid.",
|
||||||
"GridCellAttrProvider":"wx.grid.",
|
"GridCellAttrProvider":"wx.grid.",
|
||||||
|
"GridCellAttrPtr":"wx.grid.",
|
||||||
"GridCellAutoWrapStringEditor":"wx.grid.",
|
"GridCellAutoWrapStringEditor":"wx.grid.",
|
||||||
"GridCellAutoWrapStringRenderer":"wx.grid.",
|
"GridCellAutoWrapStringRenderer":"wx.grid.",
|
||||||
"GridCellBoolEditor":"wx.grid.",
|
"GridCellBoolEditor":"wx.grid.",
|
||||||
@@ -1429,6 +1430,7 @@
|
|||||||
"GridCellDateRenderer":"wx.grid.",
|
"GridCellDateRenderer":"wx.grid.",
|
||||||
"GridCellDateTimeRenderer":"wx.grid.",
|
"GridCellDateTimeRenderer":"wx.grid.",
|
||||||
"GridCellEditor":"wx.grid.",
|
"GridCellEditor":"wx.grid.",
|
||||||
|
"GridCellEditorPtr":"wx.grid.",
|
||||||
"GridCellEnumEditor":"wx.grid.",
|
"GridCellEnumEditor":"wx.grid.",
|
||||||
"GridCellEnumRenderer":"wx.grid.",
|
"GridCellEnumRenderer":"wx.grid.",
|
||||||
"GridCellFloatEditor":"wx.grid.",
|
"GridCellFloatEditor":"wx.grid.",
|
||||||
@@ -1437,6 +1439,7 @@
|
|||||||
"GridCellNumberEditor":"wx.grid.",
|
"GridCellNumberEditor":"wx.grid.",
|
||||||
"GridCellNumberRenderer":"wx.grid.",
|
"GridCellNumberRenderer":"wx.grid.",
|
||||||
"GridCellRenderer":"wx.grid.",
|
"GridCellRenderer":"wx.grid.",
|
||||||
|
"GridCellRendererPtr":"wx.grid.",
|
||||||
"GridCellStringRenderer":"wx.grid.",
|
"GridCellStringRenderer":"wx.grid.",
|
||||||
"GridCellTextEditor":"wx.grid.",
|
"GridCellTextEditor":"wx.grid.",
|
||||||
"GridColumnHeaderRenderer":"wx.grid.",
|
"GridColumnHeaderRenderer":"wx.grid.",
|
||||||
@@ -2577,6 +2580,8 @@
|
|||||||
"OS_WINDOWS_NT":"wx.",
|
"OS_WINDOWS_NT":"wx.",
|
||||||
"Object":"wx.",
|
"Object":"wx.",
|
||||||
"ObjectConstructorFn":"wx.",
|
"ObjectConstructorFn":"wx.",
|
||||||
|
"ObjectDataPtr":"wx.",
|
||||||
|
"ObjectDataPtr< T >":"wx.",
|
||||||
"ObjectRefData":"wx.",
|
"ObjectRefData":"wx.",
|
||||||
"OperatingSystemId":"wx.",
|
"OperatingSystemId":"wx.",
|
||||||
"Orientation":"wx.",
|
"Orientation":"wx.",
|
||||||
|
@@ -22,7 +22,6 @@ ITEMS = [ 'wxAuiManager',
|
|||||||
'wxAuiManagerEvent',
|
'wxAuiManagerEvent',
|
||||||
'wxAuiDockInfo',
|
'wxAuiDockInfo',
|
||||||
'wxAuiDockUIPart',
|
'wxAuiDockUIPart',
|
||||||
'wxAuiPaneButton',
|
|
||||||
'wxAuiFloatingFrame'
|
'wxAuiFloatingFrame'
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -68,9 +67,6 @@ def run():
|
|||||||
module.addItem(tools.wxArrayWrapperTemplate(
|
module.addItem(tools.wxArrayWrapperTemplate(
|
||||||
'wxAuiDockUIPartArray', 'wxAuiDockUIPart', module))
|
'wxAuiDockUIPartArray', 'wxAuiDockUIPart', module))
|
||||||
|
|
||||||
module.addItem(tools.wxArrayWrapperTemplate(
|
|
||||||
'wxAuiPaneButtonArray', 'wxAuiPaneButton', module))
|
|
||||||
|
|
||||||
module.addItem(tools.wxArrayWrapperTemplate(
|
module.addItem(tools.wxArrayWrapperTemplate(
|
||||||
'wxAuiPaneInfoPtrArray', 'wxAuiPaneInfo', module, itemIsPtr=True))
|
'wxAuiPaneInfoPtrArray', 'wxAuiPaneInfo', module, itemIsPtr=True))
|
||||||
|
|
||||||
|
@@ -383,6 +383,14 @@ def run():
|
|||||||
c.addProperty('String GetString SetString')
|
c.addProperty('String GetString SetString')
|
||||||
|
|
||||||
|
|
||||||
|
#---------------------------------------
|
||||||
|
# wxPaintEvent
|
||||||
|
c = module.find('wxPaintEvent')
|
||||||
|
# Although the default ctor is listed as public in the interface, it is
|
||||||
|
# magically made private for the users of fthe library as it can only be
|
||||||
|
# created within wxWidgets.
|
||||||
|
c.find('wxPaintEvent').protection = 'private'
|
||||||
|
|
||||||
#---------------------------------------
|
#---------------------------------------
|
||||||
# wxKeyEvent
|
# wxKeyEvent
|
||||||
c = module.find('wxKeyEvent')
|
c = module.find('wxKeyEvent')
|
||||||
@@ -600,7 +608,6 @@ def run():
|
|||||||
#---------------------------------------
|
#---------------------------------------
|
||||||
# wxIconizeEvent
|
# wxIconizeEvent
|
||||||
c = module.find('wxIconizeEvent')
|
c = module.find('wxIconizeEvent')
|
||||||
|
|
||||||
# deprecated and removed
|
# deprecated and removed
|
||||||
c.find('Iconized').ignore()
|
c.find('Iconized').ignore()
|
||||||
|
|
||||||
|
@@ -293,6 +293,13 @@ def run():
|
|||||||
c.find('SetEditor.editor').transfer = True # these are probably redundant now...
|
c.find('SetEditor.editor').transfer = True # these are probably redundant now...
|
||||||
c.find('SetRenderer.renderer').transfer = True
|
c.find('SetRenderer.renderer').transfer = True
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------
|
||||||
|
module.find('wxGridCellRendererPtr').piIgnored = True
|
||||||
|
module.find('wxGridCellEditorPtr').piIgnored = True
|
||||||
|
module.find('wxGridCellAttrPtr').piIgnored = True
|
||||||
|
|
||||||
|
module.addHeaderCode('#define sipName_ptr "ptr"')
|
||||||
|
module.addHeaderCode('#define sipName_tocopy "tocopy"')
|
||||||
|
|
||||||
#-----------------------------------------------------------------
|
#-----------------------------------------------------------------
|
||||||
# The instanceCode attribute is code that is used to make a default
|
# The instanceCode attribute is code that is used to make a default
|
||||||
|
@@ -21,7 +21,9 @@ ITEMS = [
|
|||||||
'wxRefCounter',
|
'wxRefCounter',
|
||||||
'wxObject',
|
'wxObject',
|
||||||
'wxClassInfo',
|
'wxClassInfo',
|
||||||
]
|
#'wxObjectDataPtr',
|
||||||
|
'classwx_object_data_ptr_3_01_t_01_4.xml',
|
||||||
|
]
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -89,6 +91,22 @@ def run():
|
|||||||
|
|
||||||
tools.addSipConvertToSubClassCode(c)
|
tools.addSipConvertToSubClassCode(c)
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------
|
||||||
|
c = module.find('wxObjectDataPtr< T >')
|
||||||
|
c.name = 'wxObjectDataPtr'
|
||||||
|
c.piIgnored = True
|
||||||
|
|
||||||
|
# fix up the ctor/dtor due to name change above
|
||||||
|
ctor = c.find('wxObjectDataPtr')
|
||||||
|
ctor.isCtor = True
|
||||||
|
dtor = c.find('~wxObjectDataPtr')
|
||||||
|
dtor.isDtor = True
|
||||||
|
|
||||||
|
c.find('operator->').ignore()
|
||||||
|
c.find('operator*').ignore()
|
||||||
|
c.find('operator unspecified_bool_type').ignore()
|
||||||
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------
|
#-----------------------------------------------------------------
|
||||||
tools.doCommonTweaks(module)
|
tools.doCommonTweaks(module)
|
||||||
tools.runGenerators(module)
|
tools.runGenerators(module)
|
||||||
|
Reference in New Issue
Block a user