1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-09 04:30:09 +00:00

Fix for win32 drag-and-drop.

This commit is contained in:
Julian Storer 2010-02-16 12:03:14 +00:00
parent 3057acf0b3
commit f97cf1aaa5
6 changed files with 1225 additions and 1227 deletions

View file

@ -2960,7 +2960,7 @@ public:
HRESULT __stdcall GetData (FORMATETC __RPC_FAR* pFormatEtc, STGMEDIUM __RPC_FAR* pMedium)
{
if (pFormatEtc->tymed == format->tymed
if ((pFormatEtc->tymed & format->tymed) != 0
&& pFormatEtc->cfFormat == format->cfFormat
&& pFormatEtc->dwAspect == format->dwAspect)
{