]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/clipbrd.cpp
Up-ported code to make tree item visible when programmatically
[wxWidgets.git] / src / msw / clipbrd.cpp
index 3cbe217392774f9da5505f951757eade7f7d6433..5386a032e6af6406b179eedba114521c9d8adb8d 100644 (file)
 
 #if wxUSE_DATAOBJ
     #include "wx/dataobj.h"
+#endif
 
-// No: don't necessarily use OLE clipboard with data object
-#if 0
+#if wxUSE_OLE
    // use OLE clipboard
    #define wxUSE_OLE_CLIPBOARD 1
-#endif
 #else // !wxUSE_DATAOBJ
     // use Win clipboard API
     #define wxUSE_OLE_CLIPBOARD 0