From 0f8df1b95c1dc5cc633fb2fd1127bd28028896f7 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Tue, 14 Mar 2000 16:01:06 +0000
Subject: [PATCH] wxDropSource should have def ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 include/wx/gtk/dnd.h  | 2 +-
 include/wx/gtk1/dnd.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/wx/gtk/dnd.h b/include/wx/gtk/dnd.h
index 380d5c1d6a..e6e45f03a8 100644
--- a/include/wx/gtk/dnd.h
+++ b/include/wx/gtk/dnd.h
@@ -77,7 +77,7 @@ class wxDropSource: public wxDropSourceBase
 {
 public:
     /* constructor. set data later with SetData() */
-    wxDropSource( wxWindow *win,
+    wxDropSource( wxWindow *win = (wxWindow *)NULL,
                   const wxIcon &go = wxNullIcon );
 
     /* constructor for setting one data object */
diff --git a/include/wx/gtk1/dnd.h b/include/wx/gtk1/dnd.h
index 380d5c1d6a..e6e45f03a8 100644
--- a/include/wx/gtk1/dnd.h
+++ b/include/wx/gtk1/dnd.h
@@ -77,7 +77,7 @@ class wxDropSource: public wxDropSourceBase
 {
 public:
     /* constructor. set data later with SetData() */
-    wxDropSource( wxWindow *win,
+    wxDropSource( wxWindow *win = (wxWindow *)NULL,
                   const wxIcon &go = wxNullIcon );
 
     /* constructor for setting one data object */
-- 
2.47.2