mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
Merge c5929c4975 into 50d93a7874
This commit is contained in:
@@ -276,6 +276,21 @@ def run():
|
||||
wxPyRaiseNotImplemented();
|
||||
#endif
|
||||
""")
|
||||
c.find('CreateAccessible').factory = True
|
||||
c.find('CreateAccessible').setCppCode("""\
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
return self->CreateAccessible();
|
||||
#else
|
||||
wxPyRaiseNotImplemented();
|
||||
#endif
|
||||
""")
|
||||
c.find('GetOrCreateAccessible').setCppCode("""\
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
return self->GetOrCreateAccessible();
|
||||
#else
|
||||
wxPyRaiseNotImplemented();
|
||||
#endif
|
||||
""")
|
||||
|
||||
# Make some of the protected methods visible and overridable from Python
|
||||
c.find('SendDestroyEvent').ignore(False)
|
||||
|
||||
@@ -479,6 +479,7 @@ def addWindowVirtuals(klass):
|
||||
('SetValidator', 'void SetValidator( const wxValidator &validator )'),
|
||||
('GetValidator', 'wxValidator* GetValidator()'),
|
||||
('EnableVisibleFocus', 'void EnableVisibleFocus(bool enabled)'),
|
||||
('CreateAccessible', 'wxAccessible* CreateAccessible()'),
|
||||
|
||||
## What about these?
|
||||
#bool HasMultiplePages() const
|
||||
|
||||
Reference in New Issue
Block a user