diff --git a/etg/graphics.py b/etg/graphics.py index d48a9772..f7cf9949 100644 --- a/etg/graphics.py +++ b/etg/graphics.py @@ -236,7 +236,7 @@ def run(): c.addCppMethod('wxGraphicsRenderer*', 'GetDirect2DRenderer', '()', isStatic=True, doc="Returns Direct2D renderer (MSW and Python3 only).", body="""\ - #ifdef wxUSE_GRAPHICS_DIRECT2D + #if wxUSE_GRAPHICS_DIRECT2D return wxGraphicsRenderer::GetDirect2DRenderer(); #else return NULL;