]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/droptgt.cpp
Fix crash in wxDC::GetMultiLineTextExtent() after last commit.
[wxWidgets.git] / 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);
 }