Skip to content

Update firefox.py Fix: line 307 Replace deprecated wx.NewId - #1

Open
NVDATH wants to merge 2 commits into
masterfrom
fix-wx-deprecation
Open

Update firefox.py Fix: line 307 Replace deprecated wx.NewId#1
NVDATH wants to merge 2 commits into
masterfrom
fix-wx-deprecation

Conversation

@NVDATH

@NVDATH NVDATH commented Sep 12, 2025

Copy link
Copy Markdown
Owner

Description of the bug:
When using the add-on with recent versions of NVDA (which use newer wxPython), pressing NVDA+F8 in Firefox causes a wx._core.wxAssertionError: invalid id value. This is because the wx.NewId() function is deprecated.

Description of the fix:
This commit replaces the deprecated wx.NewId() with the modern and correct wx.ID_ANY in firefox.py, which resolves the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant