]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/metafile.h
implemented (untested) work around for wxScrolledWindow painting bug
[wxWidgets.git] / include / wx / mac / metafile.h
index c65ec890715f4ad97373a267b194cdc8c597e71e..f6334a434d5d3e36978799c9754d7bc4ba953b3e 100644 (file)
@@ -19,8 +19,8 @@
 #include "wx/dc.h"
 #include "wx/gdiobj.h"
 
-#if wxUSE_DRAG_AND_DROP
-#include "wx/dataobj.h" wx/defs.h
+#if wxUSE_DATAOBJ
+#include "wx/dataobj.h"
 #endif
 
 /*
@@ -120,10 +120,7 @@ bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y
 // wxMetafileDataObject is a specialization of wxDataObject for metafile data
 // ----------------------------------------------------------------------------
 
-// TODO: implement OLE side of things. At present, it's just for clipboard
-// use.
-
-#if wxUSE_DRAG_AND_DROP
+#if wxUSE_DATAOBJ
 class WXDLLEXPORT wxMetafileDataObject : public wxDataObject
 {
 public: