diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-15 21:35:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-15 21:35:02 +0000 |
commit | c2025a23b1921c2112298d71c42e1aa741e029f6 (patch) | |
tree | 78a30eaa53e524e61ef83d25c600cdd00a2ce962 /plugins/Scriver/src/msgs.cpp | |
parent | 7dff82fea29945f8625ecf3df9f2428dd1ab38d0 (diff) |
fix for dropping files into Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@4968 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 3e775f2ac6..7acb87ab82 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -572,7 +572,8 @@ int OnLoadModule(void) ///////////////////////////////////////////////////////////////////////////////////////////////////////
-CREOleCallback reOleCallback, reOleCallback2;
+CREOleCallback reOleCallback;
+CREOleCallback2 reOleCallback2;
STDMETHODIMP CREOleCallback::QueryInterface(REFIID riid, LPVOID * ppvObj)
{
@@ -659,3 +660,10 @@ STDMETHODIMP CREOleCallback::ShowContainerUI(BOOL fShow) {
return S_OK;
}
+
+STDMETHODIMP CREOleCallback2::QueryAcceptData(LPDATAOBJECT lpdataobj, CLIPFORMAT * lpcfFormat, DWORD reco, BOOL fReally, HGLOBAL hMetaPict)
+{
+ *lpcfFormat = CF_TEXT;
+ return S_OK;
+}
+
|