From 16b129adb20f4d8f020ff3db72604a7ee9e4dbbf Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 15 Jan 2004 17:41:18 +0000 Subject: [PATCH] Don't allow parameterless wxDropSource git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/clip_dnd.i | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wxPython/src/clip_dnd.i b/wxPython/src/clip_dnd.i index e5547215f4..2ffb2e6769 100644 --- a/wxPython/src/clip_dnd.i +++ b/wxPython/src/clip_dnd.i @@ -455,13 +455,13 @@ bool wxIsDragResultOk(wxDragResult res); class wxPyDropSource : public wxDropSource { public: #ifdef __WXMSW__ - wxPyDropSource(wxWindow *win = NULL, + wxPyDropSource(wxWindow *win, const wxCursor © = wxNullCursor, const wxCursor &move = wxNullCursor, const wxCursor &none = wxNullCursor) : wxDropSource(win, copy, move, none) {} #else - wxPyDropSource(wxWindow *win = NULL, + wxPyDropSource(wxWindow *win, const wxIcon& copy = wxNullIcon, const wxIcon& move = wxNullIcon, const wxIcon& none = wxNullIcon) @@ -481,12 +481,12 @@ IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback); %name(wxDropSource) class wxPyDropSource { public: #ifdef __WXMSW__ - 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);