X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e4e25d5503d0ee4d466f1f979a8007d3b7975f8..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/src/_pen.i?ds=inline diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index fc37c53409..860f18c987 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -29,6 +29,8 @@ %newgroup +MustHaveApp(wxPen); + class wxPen : public wxGDIObject { public: wxPen(wxColour& colour, int width=1, int style=wxSOLID); @@ -56,8 +58,11 @@ public: int count = self->GetDashes(&dashes); bool blocked = wxPyBeginBlockThreads(); PyObject* retval = PyList_New(0); - for (int x=0; x