From: George Tasker Date: Mon, 10 Jan 2000 23:58:16 +0000 (+0000) Subject: No #if wxUSE_DRAG_AND_DROP around the wxMetafileDataObject class, so compilation... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/47cb3382821da600af6e2423dbd6c4898e9282e2?ds=inline 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 --- diff --git a/src/msw/metafile.cpp b/src/msw/metafile.cpp index a49e59a0ba..69bca27a24 100644 --- a/src/msw/metafile.cpp +++ b/src/msw/metafile.cpp @@ -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