]> git.saurik.com Git - wxWidgets.git/commitdiff
wxDropSource should have def ctor
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Mar 2000 16:01:06 +0000 (16:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Mar 2000 16:01:06 +0000 (16:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/dnd.h
include/wx/gtk1/dnd.h

index 380d5c1d6a26bf63cfd70c5d37ae8da19a455268..e6e45f03a866f9014fab17d79e8afc98b1f6e889 100644 (file)
@@ -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 */
index 380d5c1d6a26bf63cfd70c5d37ae8da19a455268..e6e45f03a866f9014fab17d79e8afc98b1f6e889 100644 (file)
@@ -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 */