X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33adb15261cec222e829b631f80cc68d71d250a6..78577dcb71a8d748b9f5708321c3956c8b83bbe1:/wxPython/src/_pen.i diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index 150417ea1e..911f63d1d0 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -54,16 +54,19 @@ public: PyObject* GetDashes() { wxDash* dashes; int count = self->GetDashes(&dashes); - wxPyBeginBlockThreads(); + bool blocked = wxPyBeginBlockThreads(); PyObject* retval = PyList_New(0); for (int x=0; x