Skip to content

Fix support for wxPython 3.0#877

Merged
prabhuramachandran merged 1 commit into
enthought:masterfrom
swt2c:wxpython3.0
Apr 30, 2020
Merged

Fix support for wxPython 3.0#877
prabhuramachandran merged 1 commit into
enthought:masterfrom
swt2c:wxpython3.0

Conversation

@swt2c
Copy link
Copy Markdown
Contributor

@swt2c swt2c commented Dec 31, 2019

Retains compatibility with 2.8 - there wx.InitAllImageHandlers() is a no-op,
wx.HIDE_READONLY is 0, and wx.PySimpleApp() issues a deprecation warning.

Patch originally by Olly Betts olly@survex.com

Retains compatibility with 2.8 - there wx.InitAllImageHandlers() is a no-op,
wx.HIDE_READONLY is 0, and wx.PySimpleApp() issues a deprecation warning.

Patch originally by Olly Betts <olly@survex.com>
@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 31, 2019

Codecov Report

Merging #877 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #877   +/-   ##
=======================================
  Coverage   50.86%   50.86%           
=======================================
  Files         263      263           
  Lines       23843    23843           
  Branches     3251     3251           
=======================================
  Hits        12128    12128           
  Misses      10928    10928           
  Partials      787      787
Impacted Files Coverage Δ
tvtk/util/wx_gradient_editor.py 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 749199d...90e1f39. Read the comment docs.

@prabhuramachandran
Copy link
Copy Markdown
Member

Looks fine to me but I haven't used the wxPython backend in ages. Does this work with wxPython 4.x?

@swt2c
Copy link
Copy Markdown
Contributor Author

swt2c commented Apr 27, 2020

These changes should be compatible with wxPython 4.x, yes. I haven't tested it with wxPython 4.x and there are likely other changes required to make it work with 4.x.

@prabhuramachandran
Copy link
Copy Markdown
Member

Thanks, merging!

@prabhuramachandran prabhuramachandran merged commit 6dbadd6 into enthought:master Apr 30, 2020
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.

3 participants