]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/metafile.cpp
compilation fix for non-threaded compilation (threads are still broken
[wxWidgets.git] / 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