#include "wx/setup.h"
-#if wxUSE_DRAG_AND_DROP
+#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
#include "wx/log.h"
#include "wx/dnd.h"
}
else {
if ( FAILED(hr) ) {
- wxLogApiError("DoDragDrop", hr);
+ wxLogApiError(wxT("DoDragDrop"), hr);
wxLogError(wxT("Drag & drop operation failed."));
}
else {