mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Pull constants used as arg default values from core, to fix test_pi_import
This commit is contained in:
@@ -51,7 +51,10 @@ def run():
|
||||
|
||||
module.addHeaderCode('#include <wxpy_api.h>')
|
||||
module.addImport('_core')
|
||||
module.addPyCode('import wx', order=10)
|
||||
module.addPyCode('''\
|
||||
import wx
|
||||
ID_ANY = wx.ID_ANY # Needed for some parameter defaults in this module
|
||||
''', order=10)
|
||||
module.addInclude(INCLUDES)
|
||||
|
||||
|
||||
|
||||
@@ -53,7 +53,10 @@ def run():
|
||||
module.addHeaderCode('#include <wxpy_api.h>')
|
||||
module.addImport('_core')
|
||||
module.addImport('_xml')
|
||||
module.addPyCode('import wx', order=10)
|
||||
module.addPyCode('''\
|
||||
import wx
|
||||
ID_NONE = wx.ID_NONE # Needed for some parameter defaults in this module
|
||||
''', order=10)
|
||||
module.addInclude(INCLUDES)
|
||||
|
||||
module.addInitializerCode("""\
|
||||
|
||||
Reference in New Issue
Block a user