]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/clip_dnd.i
added support for polygons to wxRegion
[wxWidgets.git] / wxPython / src / clip_dnd.i
index 6c3b014c8fff3395a16e6def6e77037ffdb54ffb..0fb2200a3128ea73c7c7cdb2734c59c5e596d846 100644 (file)
@@ -363,7 +363,7 @@ public:
 //----------------------------------------------------------------------
 //----------------------------------------------------------------------
 
-class wxClipboard {
+class wxClipboard : public wxObject {
 public:
     wxClipboard();
 
@@ -629,7 +629,9 @@ public:
 %init %{
 
     wxPyTheClipboard = wxTheClipboard;
-
+    wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
+    wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
+    wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
 %}
 
 //----------------------------------------------------------------------