]> git.saurik.com Git - wxWidgets.git/commitdiff
No #if wxUSE_DRAG_AND_DROP around the wxMetafileDataObject class, so compilation...
authorGeorge Tasker <gtasker@allenbrook.com>
Mon, 10 Jan 2000 23:58:16 +0000 (23:58 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Mon, 10 Jan 2000 23:58:16 +0000 (23:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/metafile.cpp

index a49e59a0ba822d0018e50767c297d2307c246b59..69bca27a2404e9961a7da7fc47f8f357811ea604 100644 (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