mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Update wxWidgets to v3.2.5. Add support for new, MSW-only Accessibility related methods.
This commit is contained in:
committed by
Scott Talbert
parent
5622abb73d
commit
a1c9554bbf
@@ -251,6 +251,23 @@ def run():
|
|||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
""")
|
""")
|
||||||
|
c.find('GetOrCreateAccessible').setCppCode("""\
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
return self->GetOrCreateAccessible();
|
||||||
|
#else
|
||||||
|
wxPyRaiseNotImplemented();
|
||||||
|
return NULL;
|
||||||
|
#endif
|
||||||
|
""")
|
||||||
|
c.find('CreateAccessible').factory = True
|
||||||
|
c.find('CreateAccessible').setCppCode("""\
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
return self->CreateAccessible();
|
||||||
|
#else
|
||||||
|
wxPyRaiseNotImplemented();
|
||||||
|
return NULL;
|
||||||
|
#endif
|
||||||
|
""")
|
||||||
c.find('SetAccessible.accessible').transfer = True
|
c.find('SetAccessible.accessible').transfer = True
|
||||||
c.find('SetAccessible').setCppCode("""\
|
c.find('SetAccessible').setCppCode("""\
|
||||||
#if wxUSE_ACCESSIBILITY
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
|||||||
@@ -479,6 +479,7 @@ def addWindowVirtuals(klass):
|
|||||||
('SetValidator', 'void SetValidator( const wxValidator &validator )'),
|
('SetValidator', 'void SetValidator( const wxValidator &validator )'),
|
||||||
('GetValidator', 'wxValidator* GetValidator()'),
|
('GetValidator', 'wxValidator* GetValidator()'),
|
||||||
('EnableVisibleFocus', 'void EnableVisibleFocus(bool enabled)'),
|
('EnableVisibleFocus', 'void EnableVisibleFocus(bool enabled)'),
|
||||||
|
('CreateAccessible', 'wxAccessible* CreateAccessible()'),
|
||||||
|
|
||||||
## What about these?
|
## What about these?
|
||||||
#bool HasMultiplePages() const
|
#bool HasMultiplePages() const
|
||||||
|
|||||||
Submodule ext/wxWidgets updated: 085a136dcb...573e56d432
Reference in New Issue
Block a user