Ensure wx.Config related enums are present for SIP

Also adds unittests to ensure they remain present in Phoenix.
This commit is contained in:
Samuel Dunn
2017-06-26 17:28:50 -07:00
parent 387af4d5af
commit f1bc13a841
2 changed files with 9 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ DOCSTRING = ""
ITEMS = [ 'wxConfigBase',
'wxFileConfig',
'wxConfigPathChanger',
'interface_2wx_2config_8h.xml'
]
#---------------------------------------------------------------------------

View File

@@ -188,6 +188,14 @@ class ConfigTests(wtc.WidgetTestCase):
if os.path.exists(name):
os.remove(name)
def test_ConfigEnums(self):
# Test for presence of config enums
wx.CONFIG_USE_LOCAL_FILE
wx.CONFIG_USE_GLOBAL_FILE
wx.CONFIG_USE_RELATIVE_PATH
wx.CONFIG_USE_NO_ESCAPE_CHARACTERS
wx.CONFIG_USE_SUBDIR
#---------------------------------------------------------------------------