X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9a1416a3aa25c297d8d6126c08658dba968767d..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/wxPython/src/clip_dnd.i?ds=inline diff --git a/wxPython/src/clip_dnd.i b/wxPython/src/clip_dnd.i index 20bc010a59..ceb7b053ea 100644 --- a/wxPython/src/clip_dnd.i +++ b/wxPython/src/clip_dnd.i @@ -13,6 +13,8 @@ %module clip_dnd +#ifndef __WXMAC__ + %{ #include "helpers.h" #include @@ -311,10 +313,7 @@ public: %addmethods { PyObject* GetFilenames() { const wxArrayString& strings = self->GetFilenames(); - PyObject* list = PyList_New(0); - for (size_t x=0; x