X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c74e7fe1de14f32dcd6f3c9cdd727de540bbd0e..3e282d337fd4e79544fba664803163b4e2850e19:/include/wx/dataobj.h?ds=sidebyside diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index 5d80b6f16e..544d90ef13 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -87,7 +87,7 @@ public: // the value for default argument to some functions (corresponds to // wxDF_INVALID) -extern const wxDataFormat& wxFormatInvalid; +extern WXDLLEXPORT const wxDataFormat& wxFormatInvalid; // ---------------------------------------------------------------------------- // wxDataObject represents a piece of data which knows which formats it @@ -146,6 +146,9 @@ public: { return FALSE; } + + // returns TRUE if this format is supported + bool IsSupported(const wxDataFormat& format, Direction dir = Get) const; }; // ----------------------------------------------------------------------------