- drop python 3.12 from testing, prepare for python 3.14 being
added OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=75
This commit is contained in:
36
wxwidgets-3.2.5.patch
Normal file
36
wxwidgets-3.2.5.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
Do not fail the wxPython build when using a wxWidgets-3.2.5 base.
|
||||
|
||||
Generated by:
|
||||
git diff 5622abb73deaa26dc2f6dc4cd8b4b2050396b49a..78938da1218483024b3a7acf55b5fb5513882916 etg/
|
||||
|
||||
|
||||
---
|
||||
etg/window.py | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
--- a/etg/window.py
|
||||
+++ b/etg/window.py
|
||||
@@ -268,6 +268,23 @@ def run():
|
||||
return NULL;
|
||||
#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').setCppCode("""\
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
Reference in New Issue
Block a user