X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f0ff538b1190846f81e77ffc6e495201503cfe0..3c8ad70ad4de074ff95b5e3629ebc272551921c0:/wxPython/src/_pen.i?ds=sidebyside diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index 6f0afd99c3..911f63d1d0 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -54,18 +54,25 @@ public: PyObject* GetDashes() { wxDash* dashes; int count = self->GetDashes(&dashes); - wxPyBeginBlockThreads(); + bool blocked = wxPyBeginBlockThreads(); PyObject* retval = PyList_New(0); for (int x=0; xm_dash : (wxDash*)NULL); }; +#ifndef __WXMAC__ +// wxDash* GetDash() const; int GetDashCount() const; - +#endif + #ifdef __WXMSW__ wxBitmap* GetStipple(); void SetStipple(wxBitmap& stipple);