Commit Graph

468 Commits

Author SHA1 Message Date
Scott Talbert
2ac76e92fa Bugfix in hypertreelist. Add missing attribute _x_maincol to constructor of TreeListMainWindow. Fixes https://github.com/wxWidgets/Phoenix/issues/2828 2025-12-16 15:39:51 -05:00
Scott Talbert
2c2dcc5279 Merge pull request #2729 from infinity77/patch-5
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.10) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.11) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.12) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.13) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.14) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.9) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.11) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.12) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.13) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.14) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
Fix for #2239
2025-09-06 18:14:54 -04:00
Scott Talbert
ad374342c8 Merge pull request #2788 from jmoraleda/auinotebook-warning-fix
Add non-zero width and height to default tab size to avoid wxWidgets warning
2025-09-06 18:13:12 -04:00
Jorge Moraleda
7572dd05da Add non-zero width and height to default tab size to avoid wxWidgets warning 2025-09-03 12:02:32 -04:00
cbeytas
352aa39be4 Major speedups and bug fixes to CustomTreeCtrl and HyperTreeList (#2088)
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.10) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.11) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.12) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.13) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.14) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.14) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
* Major speedups and bug fixes to CustomTreeCtrl

Fixes bugs #2006, #1938, #1395

* Major speedups and bug fixes to HyperTreeList

Fixes #2083, #2081, #1981, #1938, #1901, #1898, #1880, #1293
Runs 10-100x faster while using slightly more memory.
Adds a new style `TR_LIVE_UPDATE` to show column resizing live rather than drawing a preview line.
Bump version from 1.4 to 1.5
2025-08-04 20:08:00 -04:00
Andrea Gavana
605e77bb73 Fix for #2239
This is a possible simple fix for #2239 (SetHeaderHeight does not work in UltimateListCtrl). 

Only tested on Windows.
2025-03-31 14:14:42 +02:00
neofelis2X
6f2ca2b5e5 Docs: fix various minor sphinx parsing issues 2025-02-24 23:03:37 +01:00
Ari
a7bc011277 Update hyperlink.py, fixes #2686
Uses StaticText instead of GenStaticText

Tested in linux (fedora, ubuntu), windows 11, MacOS sequoia
2025-02-08 18:58:21 -05:00
Scott Talbert
bb35bcd9d9 Fix bugs in Python2 / six removal 2025-02-03 20:13:56 -05:00
Alexandre Detiste
66a9320917 finish removing six 2025-02-02 20:30:33 -05:00
Alexandre Detiste
323e78c085 remove more Python2 hybridation 2025-02-02 20:29:49 -05:00
Alexandre Detiste
0257f755cf remove most of Python2 compatibility code 2025-02-02 20:17:45 -05:00
Scott Talbert
e93b55882d Fix more int conversions in FlatNotebook
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
Fixes: https://github.com/wxWidgets/Phoenix/issues/2682
2025-01-28 19:25:01 -05:00
Edouard Choinière
ff1cae7d56 Add typing annotations to methods returning self. 2025-01-21 21:38:18 -05:00
Scott Talbert
6ec1db43b2 Merge pull request #2447 from tianzhuqiao/agw_aui_minimize_pane
Fix AuiManager pane minimizing issue.
2024-11-14 20:30:01 -05:00
sphh
44fe243935 Adds range field to wx.lib.agw.pygauge.PyGauge format string. (#2583)
* Adds range to wx.lib.awg.pygauge.PyGauge format string.

The format string can now have fields for `value` and `range`.

* Updates the desciption.

* Uses field names in default format string (as described).

* Removes dependency on the `copy` module.
2024-11-14 20:27:59 -05:00
Scott Talbert
862086874f Avoid calling FlatMenu Destroy() in a finally block
Fixes: https://github.com/wxWidgets/Phoenix/issues/2630
2024-11-08 18:39:02 -05:00
Kazuya O'moto
ba0e6b0e32 Fix InspectionTool crashes due to bad perspective string errros
To ensure backward compatibility from version 4.2.3* to 4.2.2,
use the config key 'perspective1' for version 4.2.3 and later.

LoadPerspective => LoadPaneInfo raises an Exception, not a wx.PyAssertionError.
Therefore, change it to catch only Exception.
2024-11-06 02:48:19 +09:00
Alessandro Mattiazzi
3cd2c3b1e5 Added check_condition
Checking if self.notebooks is populated, if not call the function responsible for it
2024-10-08 15:06:48 +02:00
Jorge Moraleda
4115dd8b06 Improve support when specifying a pre-existing toolbar as the target for the restore icon when minimizing a pane in agw.aui 2024-09-23 12:30:21 -04:00
Jorge Moraleda
e4cb183ff7 Multiple bugfixes in pure python aui 2024-09-22 15:11:30 -04:00
Scott Talbert
5946f000ed Merge pull request #2600 from infinity77/patch-4
Some checks are pending
ci-build / build-source-dist (push) Waiting to run
ci-build / build-wheels (x64, macos-13, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Blocked by required conditions
ci-build / Publish Python distribution to PyPI (push) Blocked by required conditions
Possible fix for #2345
2024-09-05 09:16:06 -04:00
Scott Talbert
14b6e5df16 Merge pull request #2599 from infinity77/patch-3
Possible fix for #2364
2024-09-05 09:14:46 -04:00
Scott Talbert
85069e9e92 Merge pull request #2598 from infinity77/patch-2
Fix for #2410
2024-09-05 09:13:58 -04:00
Andrea Gavana
6580e5fdc2 Possible fix for #2345
Possible fix for #2345
2024-09-05 14:48:30 +02:00
Andrea Gavana
6ae09a2064 Should fix #2364
Possible fix for #2364
2024-09-05 14:42:07 +02:00
Andrea Gavana
7168de5a9f Should fix #2410
This should fix #2410 - Widgets placed in the UltimateListControl are drawn in the wrong location
2024-09-05 14:29:09 +02:00
Andrea Gavana
0806188d68 Possible fix for #2549
This should fix #2549 - EditLabel on CustomTreeCtrl doesn't automatically select the entire text
2024-09-05 14:03:59 +02:00
Scott Talbert
3901d05d40 Fixup flatmenu memory fix 2024-07-11 20:20:49 -04:00
Scott Talbert
50ea75909a Merge pull request #2373 from arjones6/master
flatmenu memory usage improvements
2024-07-08 09:43:45 -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
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
richardt
1d06079da0 Add support for ULC_AUTO_CHECK_PARENT 2024-01-22 21:42:15 +00:00
rufuswilson
01ec11faca Fixes DeleteButton function
cf https://github.com/wxWidgets/Phoenix/issues/2511
2024-01-11 11:29:59 +01: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
Jorge Moraleda
8a705cd066 Preserve pane icons when loading a perspective in agw.aui 2023-12-02 19:38:21 -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
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
Tomas Zigo
53574e37ad wx.agw.aui: don't uninitialize the AuiManager if the window close event is vetoed 2023-09-22 08:07:21 +02:00
Tianzhu Qiao
4eb797e8ed Fix AuiManager pane minimizing issue. 2023-08-17 10:59:16 -07:00
Scott Talbert
dac1e86423 Merge pull request #2018 from pauldmccarthy/mnt/wx-lib-agw-aui-mac-theme
MNT: Remove legacy macOS logic, and use wx.SystemSettings to select default colours
2023-07-19 12:22:02 -04:00
Scott Talbert
289a2fa509 Merge pull request #2360 from tianzhuqiao/agw_auinotebook_blurry_tab
Fix blurry text in AuiNotebook tab.
2023-07-11 15:26:17 -04:00
richardt
54981636c5 Fix arg TypeError when moving to item with variable row height not set 2023-06-29 14:39:47 +01:00
richardt
a1779b3ad1 Fix arg type error when drawing image in column header 2023-06-13 18:46:13 +01:00
richardt
e5fe26ab1f Fix floor division so floats are not passed to wx.Rect() 2023-06-11 16:11:30 +01:00
arjones6
5ad1e922af Merge branch 'wxWidgets:master' into master 2023-06-02 17:04:59 -04:00
mprosperi
6e36ffa377 fix TypeError in wx.lib.agw.flatnotebook for py3.10+ (included #2210) (#2395)
* fix TypError in wx.lib.agw.flatnotebook for py3.10+ (included #2210)

* replaced round() with int()

---------

Co-authored-by: mprosperi <m.prosperi@paneido.com>
2023-05-24 16:00:38 -04:00