From: Vadim Zeitlin Date: Tue, 16 Oct 2012 22:28:20 +0000 (+0000) Subject: Define CLSID_DragDropHelper ourselves to fix VC6 build. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b3d774bf7fbf168e2122e9e1d253052807751f70 Define CLSID_DragDropHelper ourselves to fix VC6 build. VC6 SDK doesn't define CLSID_DragDropHelper constant neither, so do it ourselves too to complete the changes of r72673. Closes #14697. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/ole/droptgt.cpp b/src/msw/ole/droptgt.cpp index e8b14c3819..4f0b716dde 100644 --- a/src/msw/ole/droptgt.cpp +++ b/src/msw/ole/droptgt.cpp @@ -70,6 +70,8 @@ struct wxIDropTargetHelper : public IUnknown namespace { + DEFINE_GUID(wxCLSID_DragDropHelper, + 0x4657278A,0x411B,0x11D2,0x83,0x9A,0x00,0xC0,0x4F,0xD9,0x18,0xD0); DEFINE_GUID(wxIID_IDropTargetHelper, 0x4657278B,0x411B,0x11D2,0x83,0x9A,0x00,0xC0,0x4F,0xD9,0x18,0xD0); } @@ -604,7 +606,7 @@ void wxDropTarget::MSWInitDragImageSupport() { // Use the default drop target helper to show shell drag images - CoCreateInstance(CLSID_DragDropHelper, NULL, CLSCTX_INPROC_SERVER, + CoCreateInstance(wxCLSID_DragDropHelper, NULL, CLSCTX_INPROC_SERVER, wxIID_IDropTargetHelper, (LPVOID*)&m_dropTargetHelper); }