]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dataobj.h
fix gcc warning about possibly uninitialized variables
[wxWidgets.git] / include / wx / mac / carbon / dataobj.h
index fa1aa17600971fed69260f958170b67ec243e87b..e5c0fda881b9fac8ae1f3722e4074a00163a1580 100644 (file)
@@ -25,6 +25,12 @@ public:
 #endif
 
     virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
+    void AddToPasteboard( void * pasteboardRef , int itemID );
+    // returns true if the passed in format is present in the pasteboard
+    static bool IsFormatInPasteboard( void * pasteboardRef, const wxDataFormat &dataFormat );
+    // returns true if any of the accepted formats of this dataobj is in the pasteboard
+    bool HasDataInPasteboard( void * pasteboardRef );
+    bool GetFromPasteboard( void * pasteboardRef );
 };
 
 #endif // _WX_MAC_DATAOBJ_H_