From 13c45c37bf4a1623d889c93f1956402e7bc45278 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 12 Sep 2018 19:49:37 -0700 Subject: [PATCH] Dereference the dc pointer, otherwise the void* overload will be called which apparently fails silently. --- etg/graphics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etg/graphics.py b/etg/graphics.py index 37e91949..8186cf60 100644 --- a/etg/graphics.py +++ b/etg/graphics.py @@ -73,7 +73,7 @@ def run(): pyArgsString='(autoPaintDC) -> GraphicsContext', isStatic=True, body="""\ - return wxGraphicsContext::Create(autoPaintDC); + return wxGraphicsContext::Create(*autoPaintDC); """) m = c.find('Create').findOverload('wxEnhMetaFileDC')