Fix gen_iface.py to be compatible with python <2.7

In python <2.7, a dictionary without values is invalid syntax.
This commit is contained in:
Lauri Nurmi
2017-06-25 13:42:03 +03:00
parent 79918fdbb0
commit 147d965f12

View File

@@ -72,14 +72,14 @@ FUNC_FOR_CMD = 1
GENERATE_PROVISIONAL_ITEMS = 0
# No wxSTC value will be generated for the following Scintilla values.
notMappedSciValues = {
notMappedSciValues = set([
'SC_TECHNOLOGY_DIRECTWRITERETAIN',
'SC_TECHNOLOGY_DIRECTWRITEDC',
'INDIC0_MASK',
'INDIC1_MASK',
'INDIC2_MASK',
'INDICS_MASK'
}
])
# Map some generic typenames to wx types, using return value syntax
retTypeMap = {