Skip to content

Update wxPython to 4.2.3#19080

Merged
seanbudd merged 3 commits intomasterfrom
update-wxPython
Oct 14, 2025
Merged

Update wxPython to 4.2.3#19080
seanbudd merged 3 commits intomasterfrom
update-wxPython

Conversation

@seanbudd
Copy link
Copy Markdown
Member

@seanbudd seanbudd commented Oct 10, 2025

Link to issue number:

Closes #17751

Summary of the issue:

Solving #12224 required introducing a hack to fix wx.lib.scrolledpanel.ScrolledPanel.
This has now been fixed in wxPython 4.2.3: wxWidgets/Phoenix#1950.
As such, we can revert the hack now

Description of user facing changes:

None

Description of developer facing changes:

wxPython has been updated, this can cause API breaking changes sometimes
Support class has been removed.

Description of development approach:

Revert changes from #12300

Update wxPython

Testing strategy:

Tested str from #12224 did not regress

Known issues with pull request:

It may be worth considering retaining an alias

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

Copilot AI review requested due to automatic review settings October 10, 2025 03:30
@seanbudd seanbudd requested a review from a team as a code owner October 10, 2025 03:30
@seanbudd seanbudd requested a review from SaschaCowley October 10, 2025 03:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates wxPython from version 4.2.2 to 4.2.3 and removes a workaround for a scrolling issue that has been fixed upstream in the new wxPython version.

  • Updates wxPython dependency to version 4.2.3
  • Removes the TabbableScrolledPanel workaround class that was created to fix issue #12224
  • Reverts to using the standard wx.lib.scrolledpanel.ScrolledPanel directly

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Updates wxPython version dependency from 4.2.2 to 4.2.3
source/gui/nvdaControls.py Removes the TabbableScrolledPanel workaround class and its export
source/gui/settingsDialogs.py Reverts to using standard scrolledpanel.ScrolledPanel instead of the custom workaround

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@seanbudd seanbudd mentioned this pull request Oct 10, 2025
15 tasks
@seanbudd seanbudd added the conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review. label Oct 14, 2025
Copy link
Copy Markdown
Member

@SaschaCowley SaschaCowley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @seanbudd

@seanbudd seanbudd merged commit 289c1f6 into master Oct 14, 2025
29 checks passed
@seanbudd seanbudd deleted the update-wxPython branch October 14, 2025 06:00
@github-actions github-actions bot added this to the 2026.1 milestone Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-breaking-change conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revert hack for ScrollablePanel

3 participants