diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-29 11:56:54 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-29 11:56:54 +0200 |
commit | 817b52396b1625a186dfe40ec9f282d2c392b6aa (patch) | |
tree | 32875661d8f8cb3739daaf9ad8507f7c061a3d4a /src/corelib/gdi | |
parent | 206f0498c7b78638535af6536c9468a8a63d6b30 (diff) | |
download | fpGUI-817b52396b1625a186dfe40ec9f282d2c392b6aa.tar.xz |
Bugfix in EnumDataToStringList()
We can't just go adding mime types without actual data associated
with each entry.
So now we match the mime stringlist to exact data count in IDataObject
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r-- | src/corelib/gdi/fpg_oledragdrop.pas | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/gdi/fpg_oledragdrop.pas b/src/corelib/gdi/fpg_oledragdrop.pas index 6c7dc4e9..316c9799 100644 --- a/src/corelib/gdi/fpg_oledragdrop.pas +++ b/src/corelib/gdi/fpg_oledragdrop.pas @@ -298,10 +298,6 @@ begin lName := WindowsClipboardFormatToString(FE.cfFormat);
end;
Result.Add(lName);
- { Lets add the mime type too if we can find one }
- lMimeName := WindowsMimeLookup(lName);
- if lName <> lMimeName then
- Result.Add(lMimeName);
end;
end;
|