X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe763115457e499d731302b73484cd4e9111a52b..3cebfef17b54f9dacc386f090827b8badb2773d2:/wxPython/src/msw/gdi_wrap.cpp diff --git a/wxPython/src/msw/gdi_wrap.cpp b/wxPython/src/msw/gdi_wrap.cpp index 90acfe2272..2337f845e2 100644 --- a/wxPython/src/msw/gdi_wrap.cpp +++ b/wxPython/src/msw/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