Build wxMetafileDataObject when wxUSE_DATAOBJ==1
wxMetafileDataObject is a specialization of wxDataObject and its compilation should be controlled directly by wxUSE_DATAOBJ (like it's done under wxOSX, see e.g. include/wx/osx/metafile.h), not by wxUSE_DRAG_AND_DROP.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#else // also map all metafile classes to enh metafile
|
||||
typedef wxEnhMetaFile wxMetafile;
|
||||
typedef wxEnhMetaFileDC wxMetafileDC;
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
#if wxUSE_DATAOBJ
|
||||
typedef wxEnhMetaFileDataObject wxMetafileDataObject;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user