mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 05:20:08 +01:00
Ensure we have the GIL in GraphicsContext.GetTextExtent
This commit is contained in:
@@ -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);
|
||||
""")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user