projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. changed AddSharedProcessor to AddGlobalProcessor
[wxWidgets.git]
/
include
/
wx
/
dataobj.h
diff --git
a/include/wx/dataobj.h
b/include/wx/dataobj.h
index 5d80b6f16e83da95bd84b8016dcff699789b2df4..e7042d2b07310580b918a6c197dfa27e74823991 100644
(file)
--- 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)
// 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
// ----------------------------------------------------------------------------
// wxDataObject represents a piece of data which knows which formats it
@@
-146,6
+146,9
@@
public:
{
return FALSE;
}
{
return FALSE;
}
+
+ // returns TRUE if this format is supported
+ bool IsSupported(const wxDataFormat& format, Direction dir = Get) const;
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
@@
-247,7
+250,7
@@
private:
// wxDataObject directly.
// ----------------------------------------------------------------------------
// wxDataObject directly.
// ----------------------------------------------------------------------------
-WX_DECLARE_LIST(wxDataObjectSimple, wxSimpleDataObjectList);
+WX_DECLARE_
EXPORTED_
LIST(wxDataObjectSimple, wxSimpleDataObjectList);
class WXDLLEXPORT wxDataObjectComposite : public wxDataObject
{
class WXDLLEXPORT wxDataObjectComposite : public wxDataObject
{