diff --git a/etg/graphics.py b/etg/graphics.py index 81efa657..266ae84c 100644 --- a/etg/graphics.py +++ b/etg/graphics.py @@ -111,6 +111,7 @@ def run(): body="""\ wxDouble width = 0.0, height = 0.0; self->GetTextExtent(*text, &width, &height, NULL, NULL); + wxPyThreadBlocker blocker; return sipBuildResult(0, "(dd)", width, height); """)