]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_clipbrd.i
Added selection methods
[wxWidgets.git] / wxPython / src / _clipbrd.i
index b1d42c2046e896f4251bc7025dcb1c331f5c9388..ef48ae8daa9d96f3bec9396edc393d118b23c32b 100644 (file)
@@ -40,6 +40,9 @@ public:
     // query whether the clipboard is opened
     virtual bool IsOpened() const;
 
+
+    %apply SWIGTYPE *DISOWN { wxDataObject *data };
+    
     // add to the clipboard data
     //
     // NB: the clipboard owns the pointer and will delete it, so data must be
@@ -50,6 +53,8 @@ public:
     // AddData()
     virtual bool SetData( wxDataObject *data );
 
+    %clear wxDataObject *data;
+    
     // ask if data in correct format is available
     virtual bool IsSupported( const wxDataFormat& format );