Welcome to wxPython!
Latest News
wxPython 4.2.5 Released
wxPython 4.2.5 is now available at PyPI, with some additional files at Extras
Changes in this release:
This release was built using the wxWidgets' v3.2.9 release tag. The only exception is that libtiff and pcre2 bundled with wxWidgets are updated to the versions from the wxWidgets master branch (libtiff 4.7.0 and pcre2 10.44).
Fix build/wheel installation using setuptools 81+
Replace md5 with sha256 when validating downloaded waf and doxygen build tools (#2830)
Add missing attribute _x_maincol to constructor of TreeListMainWindow (#2828)
Fix wx.svg to work with cython 3.1 generated code
wxPython 4.2.4 Released
wxPython 4.2.4 is now available at PyPI, with some additional files at Extras
Changes in this release:
This release was built using the wxWidgets' v3.2.8.1 release tag. The only exception is that libtiff and pcre2 bundled with wxWidgets are updated to the versions from the wxWidgets master branch (libtiff 4.7.0 and pcre2 10.44).
Fix using
setuptools.build_metabackend (#2732)Fix EOL style in wx.py.editwindow.py (#2741)
Replace imp with types in wx.py.editor.py (#2745)
Fix floatcanvas Text.ShiftFunDict: convert float to int (#2749)
Fix up/down option not working on the initial search in wx.py.frame (#2747)
Fix floatcanvas Arrow, Point, Bitmap drawings (#2750)
Officially support and build wheels for Python 3.14 and Windows 11 ARM
Fix crash when calling wx.SystemSettings.GetAppearance() without App (#2771)
Enable whole word search in wx.py.editwindow (#2769)
Add MaxSize limit to ScaledBitmap drawing in FloatCanvas (#2768)
Fix more OGL float/int conversion issues (#2739)
Major speedups and bug fixes to CustomTreeCtrl and HyperTreeList (#2088)
Fix duplicated string constants in wx.propgrid (#2790)
Add non-zero width and height to default tab size to avoid wxWidgets warning in wx.lib.agw.aui.auibook (#2788)
Fix SetHeaderHeight in UltimateListCtrl (#2239)
Add ScrollLeft and ScrollDown to PlotCanvas (#2795)
Add sample of PlotCanvas usage (#2794)
Fix a linker issue with GCC 16+ and wxHelpControllerBase (#2807)
wxPython 4.2.3 Released
wxPython 4.2.3 is now available at PyPI, with some additional files at Extras
Changes in this release:
This release was built using the wxWidgets' v3.2.7 release tag. The only exception is that libtiff and pcre2 bundled with wxWidgets are updated to the versions from the wxWidgets master branch (libtiff 4.7.0 and pcre2 10.44).
Fix test issues with wx.lib.introspect (#2717)
Add support for building on Windows ARM64 (#2521)
Incorporate many improvements to type stubs (#2665)
Fix building documentation with latest sphinx (#2672)
Build smaller architecture-specific wheels on macOS instead of large universal2 wheels
Calculate scroll based on child's relative position to scrolledpanel in wx.lib.scrolledpanel
Fix float -> int conversion issues in wx.lib.fancytext (#2703)
Replace deprecated NumPy type aliases
Use wx.StaticText in wx.lib.agw.hyperlink (#2686)
Implement partial support for pyproject.toml and other build process improvements
Remove use of six and most Python 2 compatibility code
Fix wxWidgets build on OpenSUSE (#558, #1067, #2422, #2532)
Fix more int conversions in wx.lib.agw.flatnotebook
Make build output reproducible
Enable overridding wx.Sizer.InformFirstDirection() (#2452)
Implement iter for wxList iterator classes (fixes Python 3.13.1 issue)
Fix wx.lib.mixins.rubberband not clearing DC on redraw
Support implementing CreateBitmapBundle for custom ArtProvider
Fix float/int conversion issues in wx.lib.ogl
Include usage of
wxMemoryFSHandlerin webview demoFix crash when accessing wx.stc.StyledTextCtrl.DropTarget.Data (#2043)
Fix AuiManager pane minimizing issue
Add range field to wx.lib.agw.pygauge.PyGauge format string (#2583)
Fix pickling of wx.RealPoint (#2644)
Avoid calling FlatMenu Destroy() in a finally block (#2630)
Update wxApp.IsDisplayAvailable to work on Wayland
Fix InspectionTool crashes due to bad perspective string errors
Drop support for Python 3.8 (EOL)
Add CreateAccessible for Windows only
Added check condition to AuiManager LoadPerspective()
Fix RecursionError in platebtn bitmap getters
Add Python implementation of GetPaths (#1944)
Support Wayland GTK backend in Window.GetHandle
Refactor python only pdfviewer to support displaying pdf files where not all pages have the same size
Improve support when specifying a pre-existing toolbar as the target for the restore icon when minimizing a pane in agw.aui
Multiple bugfixes in pure python aui
pdfviewer: Add support for pymupdf renaming