X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce7284bd976f469991149a4ff0cd52294b9b61ad..3cebfef17b54f9dacc386f090827b8badb2773d2:/wxPython/src/mac/gdi_wrap.cpp diff --git a/wxPython/src/mac/gdi_wrap.cpp b/wxPython/src/mac/gdi_wrap.cpp index 7280cc61ee..37f1ce2216 100644 --- a/wxPython/src/mac/gdi_wrap.cpp +++ b/wxPython/src/mac/gdi_wrap.cpp @@ -526,11 +526,11 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) { PyObject *wxPen_GetDashes(wxPen *self){ wxDash* dashes; int count = self->GetDashes(&dashes); - wxPyBeginBlockThreads(); + bool blocked = wxPyBeginBlockThreads(); PyObject* retval = PyList_New(0); for (int x=0; x