X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b98a5dfcddb061692a11515ce7de4855840f9b6a..b89f0cb06a187c6fe7e75ab5aa359b019b8ff766:/wxPython/src/gtk/gdi.cpp?ds=sidebyside diff --git a/wxPython/src/gtk/gdi.cpp b/wxPython/src/gtk/gdi.cpp index 5e284547ac..fb08fa8702 100644 --- a/wxPython/src/gtk/gdi.cpp +++ b/wxPython/src/gtk/gdi.cpp @@ -3613,6 +3613,45 @@ static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args, PyObject return _resultobj; } +static PyObject * wxPen_GetDashes(wxPen *self) { + wxDash* dashes; + int count = self->GetDashes(&dashes); + wxPyBeginBlockThreads(); + PyObject* retval = PyList_New(0); + for (int x=0; x