X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d93e1335c44ee76c9a5d98bd76ee3df72fa3146..1b0b798d77b7b93b81d62162b290441bc9175e3e:/src/msw/ole/dropsrc.cpp diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index e71864e064..9aa2b238c5 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -33,14 +33,14 @@ #include "wx/setup.h" -#if wxUSE_DRAG_AND_DROP +#if wxUSE_OLE && wxUSE_DRAG_AND_DROP #include "wx/log.h" #include "wx/dnd.h" #include -#ifdef wxUSE_NORLANDER_HEADERS +#if wxUSE_NORLANDER_HEADERS #include #endif @@ -222,7 +222,7 @@ wxDragResult wxDropSource::DoDragDrop(bool bAllowMove) } else { if ( FAILED(hr) ) { - wxLogApiError("DoDragDrop", hr); + wxLogApiError(wxT("DoDragDrop"), hr); wxLogError(wxT("Drag & drop operation failed.")); } else {