No #if wxUSE_DRAG_AND_DROP around the wxMetafileDataObject class, so compilation failed if wxUSE_DRAG_AND_DROP was 0 and wxUSE_METAFILE was 1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2000-01-10 23:58:16 +00:00
parent cfb76a19a4
commit 47cb338282

View File

@@ -443,6 +443,9 @@ bool wxMakeMetafilePlaceable(const wxString& filename, int x1, int y1, int x2, i
return TRUE;
}
#if wxUSE_DRAG_AND_DROP
// ----------------------------------------------------------------------------
// wxMetafileDataObject
// ----------------------------------------------------------------------------
@@ -483,5 +486,7 @@ bool wxMetafileDataObject::SetData(size_t WXUNUSED(len), const void *buf)
return TRUE;
}
#endif // wxUSE_DRAG_AND_DROP
#endif // wxUSE_METAFILE