We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operating system: Windows 10 wxPython version: 4.0.1 Stock or custom build: Stock Python version: 3.6, 64 bit Stock or custom build: stock
Description of the problem: GraphicsContext.Create does not accept a MetafileDC as argument. Classic did.
GraphicsContext.Create
>>> import wx, wx.msw >>> app = wx.App() >>> dc = wx.msw.MetafileDC() >>> gc = wx.GraphicsContext.Create(dc) Traceback (most recent call last): Python Shell, prompt 9, line 1 builtins.TypeError: GraphicsContext.Create(): arguments did not match any overloaded call: overload 1: argument 1 has unexpected type 'MetafileDC' overload 2: argument 1 has unexpected type 'MetafileDC' overload 3: argument 1 has unexpected type 'MetafileDC' overload 4: argument 1 has unexpected type 'MetafileDC' overload 5: argument 1 has unexpected type 'MetafileDC' overload 6: too many arguments
The Classic code:
>>> import wx >>> app = wx.App() >>> dc = wx.MetaFileDC() >>> gc = wx.GraphicsContext_Create(dc)
The text was updated successfully, but these errors were encountered:
Changelog for wxWidgets#811
1f88c6b
Fixed by #845
Sorry, something went wrong.
@RobinD42 : thanks a lot. I have now a prototype of an EMF backend for matplotlib running. It's working well, including clipping.
No branches or pull requests
Operating system: Windows 10
wxPython version: 4.0.1
Stock or custom build: Stock
Python version: 3.6, 64 bit
Stock or custom build: stock
Description of the problem:
GraphicsContext.Create
does not accept a MetafileDC as argument. Classic did.The Classic code:
The text was updated successfully, but these errors were encountered: