]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/dropsrc.cpp
corrected use of Print Manager Session APIs for Carbon targets
[wxWidgets.git] / src / msw / ole / dropsrc.cpp
index e71864e064d9aa98b0a194979b3f9501eb11582e..2439f0d54241f9b6a05ed59e96e00bfc089bc95b 100644 (file)
@@ -40,7 +40,7 @@
 
 #include <windows.h>
 
 
 #include <windows.h>
 
-#ifdef wxUSE_NORLANDER_HEADERS
+#if wxUSE_NORLANDER_HEADERS
     #include <ole2.h>
 #endif
 
     #include <ole2.h>
 #endif
 
@@ -222,7 +222,7 @@ wxDragResult wxDropSource::DoDragDrop(bool bAllowMove)
   }
   else {
     if ( FAILED(hr) ) {
   }
   else {
     if ( FAILED(hr) ) {
-      wxLogApiError("DoDragDrop", hr);
+      wxLogApiError(wxT("DoDragDrop"), hr);
       wxLogError(wxT("Drag & drop operation failed."));
     }
     else {
       wxLogError(wxT("Drag & drop operation failed."));
     }
     else {