]> git.saurik.com Git - wxWidgets.git/commitdiff
Define CLSID_DragDropHelper ourselves to fix VC6 build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Oct 2012 22:28:20 +0000 (22:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Oct 2012 22:28:20 +0000 (22:28 +0000)
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

src/msw/ole/droptgt.cpp

index e8b14c38194a71136f3f721c8983c40cf352aa5e..4f0b716dde85f6b0974fd0a8531144ff297755b7 100644 (file)
@@ -70,6 +70,8 @@ struct wxIDropTargetHelper : public IUnknown
 
 namespace
 {
 
 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);
 }
     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
 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);
 }
 
                      wxIID_IDropTargetHelper, (LPVOID*)&m_dropTargetHelper);
 }