mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 13:00:07 +01:00
Add compatibility aliases for the STC modifier keys
This commit is contained in:
10
etg/_stc.py
10
etg/_stc.py
@@ -234,6 +234,16 @@ def run():
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
|
||||
# Keep some of the old names
|
||||
module.addPyCode("""\
|
||||
# compatibility aliases
|
||||
STC_SCMOD_NORM = STC_KEYMOD_NORM
|
||||
STC_SCMOD_SHIFT = STC_KEYMOD_SHIFT
|
||||
STC_SCMOD_CTRL = STC_KEYMOD_CTRL
|
||||
STC_SCMOD_ALT = STC_KEYMOD_ALT
|
||||
STC_SCMOD_SUPER = STC_KEYMOD_SUPER
|
||||
STC_SCMOD_META = STC_KEYMOD_META
|
||||
""")
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
tools.doCommonTweaks(module)
|
||||
|
||||
Reference in New Issue
Block a user