]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't allow parameterless wxDropSource
authorRobin Dunn <robin@alldunn.com>
Tue, 13 Jan 2004 03:31:25 +0000 (03:31 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 13 Jan 2004 03:31:25 +0000 (03:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_dnd.i

index 20d64d671bbcf6b85a8a6bc3c6c7ec6c78e41cea..4e59285844a28d551dfe2633fed9b83e0478b364 100644 (file)
@@ -58,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 &copy = 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);