Merge pull request #996 from RobinD42/fix-issue944

Fix GraphicsContext created from AutoBufferedPaintDC

(cherry picked from commit 5e7b9bc188)
This commit is contained in:
Robin Dunn
2018-09-12 20:17:27 -07:00
parent 698099f654
commit d49953b7cd

View File

@@ -74,7 +74,7 @@ def run():
pyArgsString='(autoPaintDC) -> GraphicsContext',
isStatic=True,
body="""\
return wxGraphicsContext::Create(autoPaintDC);
return wxGraphicsContext::Create(*autoPaintDC);
""")
m = c.find('Create').findOverload('wxEnhMetaFileDC')