]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/clipbrd.cpp
added test for writing empty value to the config
[wxWidgets.git] / src / msw / clipbrd.cpp
index baf1e064b22cd01de070a410e9192c3d2a2cf739..5386a032e6af6406b179eedba114521c9d8adb8d 100644 (file)
 #include <windows.h>
 
 #include "wx/msw/private.h"
+
+#ifndef __WXMICROWIN__
 #include "wx/msw/dib.h"
+#endif
 
 // wxDataObject is tied to OLE/drag and drop implementation, therefore so are
 // the functions using wxDataObject in wxClipboard
-#define wxUSE_DATAOBJ wxUSE_DRAG_AND_DROP
+//#define wxUSE_DATAOBJ wxUSE_DRAG_AND_DROP
 
 #if wxUSE_DATAOBJ
     #include "wx/dataobj.h"
+#endif
 
-    // use OLE clipboard
-    #define wxUSE_OLE_CLIPBOARD 1
+#if wxUSE_OLE
+   // use OLE clipboard
+   #define wxUSE_OLE_CLIPBOARD 1
 #else // !wxUSE_DATAOBJ
     // use Win clipboard API
     #define wxUSE_OLE_CLIPBOARD 0