X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f2efe791cf99c2e4944cd615f02a5502ed93e..4a7ea057cd6bf54d645134615f4c9d247767cef0:/wxPython/src/_dnd.i diff --git a/wxPython/src/_dnd.i b/wxPython/src/_dnd.i index 15f0f18777..4e59285844 100644 --- a/wxPython/src/_dnd.i +++ b/wxPython/src/_dnd.i @@ -14,11 +14,8 @@ //--------------------------------------------------------------------------- +#ifndef __WXX11__ -%{ -%} - -//--------------------------------------------------------------------------- %newgroup // flags for wxDropSource::DoDragDrop() @@ -61,12 +58,12 @@ IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback); %name(DropSource) class wxPyDropSource { public: #ifndef __WXGTK__ - wxPyDropSource(wxWindow *win = NULL, + wxPyDropSource(wxWindow *win, const wxCursor © = wxNullCursor, const wxCursor &move = wxNullCursor, const wxCursor &none = wxNullCursor); #else - wxPyDropSource(wxWindow *win = NULL, + wxPyDropSource(wxWindow *win, const wxIcon& copy = wxNullIcon, const wxIcon& move = wxNullIcon, const wxIcon& none = wxNullIcon); @@ -265,3 +262,5 @@ public: wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget"); %} //--------------------------------------------------------------------------- + +#endif