summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e>2011-09-22 10:30:57 (GMT)
committerpetasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e>2011-09-22 10:30:57 (GMT)
commit543819026024009868b2125d3e18a82e79937682 (patch)
treef96e4ff659f835896f419c8e435ebd819880e6d4
parent05d05e5721451dc516ec3d8dd43514d4d1be427d (diff)
downloadtkdnd-543819026024009868b2125d3e18a82e79937682.zip
tkdnd-543819026024009868b2125d3e18a82e79937682.tar.gz
tkdnd-543819026024009868b2125d3e18a82e79937682.tar.bz2
BUG ID: 3411338
-rw-r--r--Changelog4
-rw-r--r--win/OleDND.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 70c1457..2192746 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+2011-09-22 Petasis George <petasis@iit.demokritos.gr>
+ * win/OleDND.h: Added a check if CF_DIBV5 is defined (i.e.
+ WINVER < 0x0500). SF Bug ID: 3411338.
+
2011-03-18 Petasis George <petasis@iit.demokritos.gr>
* library/tkdnd_unix.tcl: Fixed a bug in xdnd::_GetDroppedData, where
an improper error was thrown in case no common types were found between
diff --git a/win/OleDND.h b/win/OleDND.h
index 8e10830..9ece6de 100644
--- a/win/OleDND.h
+++ b/win/OleDND.h
@@ -126,7 +126,9 @@ static CLIP_FORMAT_STRING_TABLE ClipboardFormatBook[] = {
STRING_(CF_ENHMETAFILE),
STRING_(CF_HDROP),
STRING_(CF_LOCALE),
+#ifdef CF_DIBV5
STRING_(CF_DIBV5),
+#endif /* CF_DIBV5 */
STRING_(CF_OWNERDISPLAY),
STRING_(CF_DSPTEXT),
STRING_(CF_DSPBITMAP),
@@ -1221,4 +1223,4 @@ private:
LONG m_lRefCount;
}; /* TkDND_DropSource */
-#endif _OLE_DND_H
+#endif /* _OLE_DND_H */