mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
Ensure wx.Config related enums are present for SIP
Also adds unittests to ensure they remain present in Phoenix.
This commit is contained in:
@@ -22,6 +22,7 @@ DOCSTRING = ""
|
||||
ITEMS = [ 'wxConfigBase',
|
||||
'wxFileConfig',
|
||||
'wxConfigPathChanger',
|
||||
'interface_2wx_2config_8h.xml'
|
||||
]
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
@@ -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
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user