Scott Talbert
5622abb73d
Merge pull request #2542 from BigHatMortimer/Fix_to_bar.py
...
Bugfix Bar.py
2024-03-21 17:56:11 -04:00
Alessandro Mattiazzi
4d29e7dd72
Bugfix Bar.py
...
Added int casting on RecalculateTabSizes function to fix error
2024-03-21 16:27:27 +01:00
Scott Talbert
a207b40700
Merge pull request #2536 from DietmarSchwertberger/ISS_2535
...
update BusyCursor snippet
2024-02-27 13:17:21 -05:00
DietmarSchwertberger
d343f222cc
update BusyCursor snippet
2024-02-27 14:08:10 +01:00
decodeais
0205c7c1b9
speedmeter.py lost background color ( #2528 )
...
* Update speedmeter.py
missing typcast makes the backgraound of the speedmeter white
* Update wx/lib/agw/speedmeter.py
---------
Co-authored-by: Scott Talbert <swt@techie.net >
2024-02-17 10:44:03 -05:00
Scott Talbert
e207aa2df4
Merge pull request #2527 from swt2c/sip_6.8.3
...
Update sip to v6.8.3 and fix deprecations
2024-02-13 09:35:06 -05:00
Scott Talbert
2c6307142f
Update sip to v6.8.3 and fix deprecations
2024-02-12 23:20:17 -05:00
Scott Talbert
832f17260f
Merge pull request #2232 from StefanBruens/wxget_pip_optional
...
Make pip usage in wxget optional
2024-02-05 15:15:41 -05:00
Scott Talbert
cdf786ac5b
Add Python 3.12 to classifiers
2024-01-29 20:16:35 -05:00
Scott Talbert
ca99fb1378
Merge pull request #2496 from swt2c/sip_6.8.0
...
Update sip to v6.8.2
2024-01-24 23:35:57 -05:00
Scott Talbert
585463de38
Merge pull request #2520 from DietmarSchwertberger/ISSUE_2519
...
remove demo dependency on distutils; fixes issue 2519
2024-01-24 19:21:48 -05:00
Scott Talbert
0c48415436
Update sip to v6.8.2
2024-01-24 19:20:03 -05:00
DietmarSchwertberger
7e2c7d69c9
remove demo dependency on distutils; fixes issue 2519
2024-01-24 23:51:43 +01:00
Scott Talbert
08d879966e
Merge pull request #2518 from reticulatus/ulc_check_parent
...
Add support for ULC_AUTO_CHECK_PARENT
2024-01-23 19:39:43 -05:00
richardt
1d06079da0
Add support for ULC_AUTO_CHECK_PARENT
2024-01-22 21:42:15 +00:00
Scott Talbert
15fe9aaab4
Merge pull request #2512 from rufuswilson/patch-1
...
Fixes DeleteButton function
2024-01-16 14:51:42 -05:00
rufuswilson
01ec11faca
Fixes DeleteButton function
...
cf https://github.com/wxWidgets/Phoenix/issues/2511
2024-01-11 11:29:59 +01:00
Scott Talbert
0c54500045
Merge pull request #2508 from bnavigator/patch-1
...
TST: Integer division for randint() in makeRandomRectangles()
2024-01-10 19:40:25 -05:00
Ben Greiner
3b042c863f
integer division for randint
...
Python 3.12 does not accept floats for random.randint() anymore
2024-01-06 21:58:29 +01:00
Scott Talbert
1f9b5f4996
Merge pull request #2502 from swt2c/fix_syntaxwarnings_python3.12
...
Fix additional SyntaxWarnings with Python 3.12
2023-12-21 20:23:36 -05:00
Scott Talbert
01787f43a5
Fix additional SyntaxWarnings with Python 3.12
...
It seems that Python 3.12 has started emitting additional SyntaxWarnings
in cases where there are backslashes used in strings, so change these
strings to raw strings to avoid the warnings.
2023-12-21 20:19:57 -05:00
Scott Talbert
26d1782514
Merge pull request #2500 from jmoraleda/AuiLayoutLastStepOfUpdate
...
wx.agw.aui. Do layout as the last step after all pane infos have recomputed their best sizes
2023-12-21 09:32:12 -05:00
Scott Talbert
a1755e8e65
Merge pull request #2501 from jmoraleda/CallAfterUpdateInAllPlatforms
...
wx.agw.aui: Make behavior in all platforms more equal
2023-12-21 09:31:06 -05:00
Jorge Moraleda
b683707909
wx.agw.aui. Do layout as the last step after all pane infos have recomputed their best sizes
2023-12-20 15:45:40 -05:00
Scott Talbert
525dd03245
Merge pull request #2460 from tmszi/fix-wx-agw-auimanager-bind-close-evt
...
wx.agw.aui: don't uninitialize the AuiManager if the window close event is vetoed
2023-12-18 16:28:59 -05:00
Scott Talbert
87674de980
Merge pull request #2494 from jmoraleda/agw-aui-preserve-icons-on-load-perspective
...
Preserve pane icons when loading a perspective in agw.aui
2023-12-07 22:59:22 -05:00
Scott Talbert
17aa9c901c
Merge pull request #2487 from komoto48g/introspection-patch
...
Use unwrap before isbuiltin check
2023-12-06 19:00:50 -05:00
Scott Talbert
0b21230ee2
Merge pull request #2497 from swt2c/doxygen_1.9.7
...
Support building with Doxygen 1.9.7
2023-12-06 18:21:24 -05:00
Scott Talbert
6a049ccc0a
Support building with Doxygen 1.9.7
...
Doxygen 1.9.7 made some changes whereby some method definitions are now
defined in separate XML files, with a "refid" that links to them. In
order to support this, we need to follow these "refids" to pick up the
method definition from the separate group XML files.
2023-12-05 23:42:21 -05:00
Jorge Moraleda
8a705cd066
Preserve pane icons when loading a perspective in agw.aui
2023-12-02 19:38:21 -05:00
Scott Talbert
20447e7fe1
Merge pull request #2488 from timrid/bugfix/str-to-wxstring-with-emoji
...
fixed 'str' to 'wxString' converstation, when emoji is inside string
2023-11-27 19:19:18 -05:00
timrid
0dcd0640ca
fixed 'str' to 'wxString' converstation, when emoji is inside string ( fixes #2446 )
2023-11-27 09:59:05 +01:00
Kazuya O'moto
1fb1e84012
Use unwrap before isbuiltin check
...
`inspect.isbuiltin` does not unwrap obj, but `inspect.signature` does,
which can result in a ValueError.
>>> wx.Bell
<built-in function Bell>
>>> bell #= dcor(wx.Bell)
<function Bell at 0x0000015E53D92B60>
>>> inspect.isbuiltin(bell)
False
>>> inspect.signature(bell)
... (snip) ...
ValueError: no signature found for builtin <built-in function Bell>
2023-11-26 16:32:57 +09:00
Scott Talbert
172e732a0c
Merge pull request #2478 from swt2c/wx3.2.4
...
Update wxWidgets to v3.2.4
2023-11-23 10:09:22 -05:00
Scott Talbert
7a198b8cae
Update wxTextCtrl OSX overrides since they're now documented
2023-11-20 22:12:58 -05:00
Scott Talbert
6e2065bbfd
Update wxWidgets to v3.2.4
2023-11-13 20:12:39 -05:00
Jorge Moraleda
9084de5a6f
Pure python AUI: Make behavior in all platforms more equal. This also reduces flicker, reduces number of code lines by removing platform exception.
2023-11-11 19:22:03 -05:00
Scott Talbert
11c4a77788
Merge pull request #2470 from jmoraleda/mycontrib/pdfviewer-use-int-sizes-when-printing
...
Bugfix. Explicitly convert float to int when calling to wx.Size in pdfviewer
2023-10-30 11:01:07 -04:00
Scott Talbert
0b19a4a671
Merge pull request #2456 from swt2c/python3.12
...
Add CI for Python 3.12 (and drop EOL Python 3.7)
2023-10-30 09:15:44 -04:00
Scott Talbert
e1c0738221
Windows CI: remove extra MSVC configuration
...
Due to there being multiple MSVC versions installed on the Azure images,
the build process seems to be getting parts of both of them, so remove
the older one.
2023-10-29 21:05:29 -04:00
Jorge Moraleda
0cf08c27fd
Explicitly convert float to int when calling to wx.Size in pure python pdfviewer
2023-10-27 18:45:16 -04:00
Scott Talbert
e271c80cd8
Merge pull request #2469 from 1marc1/patch-1
...
Update typo in persist_handlers.py
2023-10-27 09:10:47 -04:00
1marc1
f773bb444d
Update typo in persist_handlers.py
...
This should fix a typo in the return statement.
2023-10-27 23:45:17 +11:00
Scott Talbert
5444f4c3e6
Add CI for Python 3.12 (and drop EOL Python 3.7)
2023-10-23 20:52:17 -04:00
lojack5
17cbd02543
fixup: Non-generated core.pyi code
...
Since this is used to not only generate the type-stubs, but also the actual
wx/core.py, we need to ensure TypeVar and ParamSpec are imported there as
well. So, move the imports to the wx/core.py generator definition, and
remove the imports from the type-stub generator (these imports are only
used by CallAfter and CallLater).
2023-10-18 22:46:32 -06:00
lojack5
51675584d8
Tentative: fix for ParamSpec on Python < 3.10
...
Alternate solution is to remove the callable typing on CallAfter and CallLater
2023-10-18 21:28:02 -06:00
lojack5
1bdc66afc6
Python <3.10 typing compat: Callable
...
`collections.abc.Callable` subscripting was added in Python 3.10,
use `typing.Callable` instead.
2023-10-18 14:18:22 -06:00
lojack5
804d3f15e3
fixup: union commit
2023-10-18 14:18:21 -06:00
lojack5
b23c5a83dc
Python <3.9 typing compat: tuples
...
Subscripting builtins.tuple was added in Python 3.9, so use
`typing.Tuple` where applicable.
2023-10-18 13:10:24 -06:00
lojack5
2ea917b0b5
Python <3.9 typing compat: list
...
Subscribing builtins.list wasn't added until Python 3.9 so use
`typing.List` where applicable.
2023-10-18 13:08:54 -06:00