//---------------------------------------------------------------------------
+#ifndef __WXX11__
-%{
-%}
-
-//---------------------------------------------------------------------------
%newgroup
// flags for wxDropSource::DoDragDrop()
%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);
%name(DropTarget) class wxPyDropTarget // : public wxDropTarget
{
public:
- %addtofunc wxPyDropTarget "if args: args[1].thisown = 0; self._setCallbackInfo(self, DropTarget)"
+ %addtofunc wxPyDropTarget
+ "if args: args[0].thisown = 0;
+ self._setCallbackInfo(self, DropTarget)"
wxPyDropTarget(wxDataObject *dataObject = NULL);
void _setCallbackInfo(PyObject* self, PyObject* _class);
wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
%}
//---------------------------------------------------------------------------
+
+#endif