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
This commit is contained in:
Robin Dunn
2004-01-15 17:41:18 +00:00
parent cc01897268
commit 16b129adb2

View File

@@ -455,13 +455,13 @@ bool wxIsDragResultOk(wxDragResult res);
class wxPyDropSource : public wxDropSource { class wxPyDropSource : public wxDropSource {
public: public:
#ifdef __WXMSW__ #ifdef __WXMSW__
wxPyDropSource(wxWindow *win = NULL, wxPyDropSource(wxWindow *win,
const wxCursor &copy = wxNullCursor, const wxCursor &copy = wxNullCursor,
const wxCursor &move = wxNullCursor, const wxCursor &move = wxNullCursor,
const wxCursor &none = wxNullCursor) const wxCursor &none = wxNullCursor)
: wxDropSource(win, copy, move, none) {} : wxDropSource(win, copy, move, none) {}
#else #else
wxPyDropSource(wxWindow *win = NULL, wxPyDropSource(wxWindow *win,
const wxIcon& copy = wxNullIcon, const wxIcon& copy = wxNullIcon,
const wxIcon& move = wxNullIcon, const wxIcon& move = wxNullIcon,
const wxIcon& none = wxNullIcon) const wxIcon& none = wxNullIcon)
@@ -481,12 +481,12 @@ IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
%name(wxDropSource) class wxPyDropSource { %name(wxDropSource) class wxPyDropSource {
public: public:
#ifdef __WXMSW__ #ifdef __WXMSW__
wxPyDropSource(wxWindow *win = NULL, wxPyDropSource(wxWindow *win,
const wxCursor &copy = wxNullCursor, const wxCursor &copy = wxNullCursor,
const wxCursor &move = wxNullCursor, const wxCursor &move = wxNullCursor,
const wxCursor &none = wxNullCursor); const wxCursor &none = wxNullCursor);
#else #else
wxPyDropSource(wxWindow *win = NULL, wxPyDropSource(wxWindow *win,
const wxIcon& copy = wxNullIcon, const wxIcon& copy = wxNullIcon,
const wxIcon& move = wxNullIcon, const wxIcon& move = wxNullIcon,
const wxIcon& none = wxNullIcon); const wxIcon& none = wxNullIcon);