diff --git a/etg/graphics.py b/etg/graphics.py index bdaf91bb..cae2633e 100644 --- a/etg/graphics.py +++ b/etg/graphics.py @@ -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')