Skip to content

Commit 1a5e2cf

Browse files
authored
Merge pull request #2874 from swt2c/accessibility_wip
Support CreateAccessible in all wxWindow subclasses
2 parents 5e8e9a2 + 6c28d45 commit 1a5e2cf

File tree

13 files changed

+37
-5
lines changed

13 files changed

+37
-5
lines changed

etg/_adv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def run():
7979

8080
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
8181
module.addHeaderCode('#include <wx/help.h>')
82+
tools.addAccessibilityHeaderCode(module)
8283

8384
module.addImport('_core')
8485
module.addPyCode("import wx", order=10)

etg/_aui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def run():
6060
# customizing the generated code and docstrings.
6161

6262
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
63+
tools.addAccessibilityHeaderCode(module)
6364
module.addImport('_core')
6465
module.addPyCode("import wx", order=10)
6566

etg/_dataview.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def run():
5959
# customizing the generated code and docstrings.
6060

6161
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
62+
tools.addAccessibilityHeaderCode(module)
6263
module.addImport('_core')
6364
module.addPyCode("import wx", order=10)
6465

etg/_glcanvas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def run():
5454
# customizing the generated code and docstrings.
5555

5656
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
57+
tools.addAccessibilityHeaderCode(module)
5758
module.addImport('_core')
5859
module.addPyCode('import wx', order=10)
5960
module.addInclude(INCLUDES)

etg/_grid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def run():
5555
# customizing the generated code and docstrings.
5656

5757
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
58+
tools.addAccessibilityHeaderCode(module)
5859
module.addImport('_core')
5960
module.addPyCode("import wx", order=10)
6061

etg/_html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def run():
7474
# customizing the generated code and docstrings.
7575

7676
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
77+
tools.addAccessibilityHeaderCode(module)
7778
module.addImport('_core')
7879
module.addPyCode("import wx", order=10)
7980
module.addInclude(INCLUDES)

etg/_html2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def run():
5656
# customizing the generated code and docstrings.
5757

5858
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
59+
tools.addAccessibilityHeaderCode(module)
5960
module.addImport('_core')
6061
module.addPyCode('import wx', order=10)
6162
module.addInclude(INCLUDES)

etg/_propgrid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def run():
5757
# customizing the generated code and docstrings.
5858

5959
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
60+
tools.addAccessibilityHeaderCode(module)
6061
module.addImport('_core')
6162
module.addPyCode("import wx", order=10)
6263

etg/_ribbon.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def run():
6060
# customizing the generated code and docstrings.
6161

6262
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
63+
tools.addAccessibilityHeaderCode(module)
6364
module.addImport('_core')
6465
module.addPyCode("import wx", order=10)
6566

etg/_richtext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def run():
6565
# customizing the generated code and docstrings.
6666

6767
module.addHeaderCode('#include <wxPython/wxpy_api.h>')
68+
tools.addAccessibilityHeaderCode(module)
6869
module.addImport('_core')
6970
module.addPyCode("import wx", order=10)
7071
module.addImport('_xml')

0 commit comments

Comments
 (0)