]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_dnd.i
wx.App
[wxWidgets.git] / wxPython / src / _dnd.i
index 15f0f187776fd814111ad906c736bce90df3f2ef..4e59285844a28d551dfe2633fed9b83e0478b364 100644 (file)
 
 
 //---------------------------------------------------------------------------
+#ifndef __WXX11__
 
-%{
-%}
-
-//---------------------------------------------------------------------------
 %newgroup
 
 // flags for wxDropSource::DoDragDrop()
@@ -61,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);
@@ -265,3 +262,5 @@ public:
     wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
 %}
 //---------------------------------------------------------------------------
+
+#endif