From: Vadim Zeitlin Date: Tue, 14 Mar 2000 16:01:06 +0000 (+0000) Subject: wxDropSource should have def ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0f8df1b95c1dc5cc633fb2fd1127bd28028896f7 wxDropSource should have def ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 */