]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/clip_dnd.i
correction for Mac OS compilation
[wxWidgets.git] / wxPython / src / clip_dnd.i
index 8feb9e8786e22eb5ab7fe16100d1817dfa8c1944..0fb2200a3128ea73c7c7cdb2734c59c5e596d846 100644 (file)
@@ -346,6 +346,7 @@ public:
     }
 
     size_t GetSize();
+
     //void *GetData();
     %addmethods {
         PyObject* GetData() {
@@ -362,7 +363,7 @@ public:
 //----------------------------------------------------------------------
 //----------------------------------------------------------------------
 
-class wxClipboard {
+class wxClipboard : public wxObject {
 public:
     wxClipboard();
 
@@ -628,7 +629,9 @@ public:
 %init %{
 
     wxPyTheClipboard = wxTheClipboard;
-
+    wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
+    wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
+    wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
 %}
 
 //----------------------------------------------------------------------