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
This commit is contained in:
parent
efc645e229
commit
b3d774bf7f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user