X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/wxPython/src/clip_dnd.i?ds=sidebyside diff --git a/wxPython/src/clip_dnd.i b/wxPython/src/clip_dnd.i index f0bc85fd90..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