]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compile error for FINAL=1
authorRobin Dunn <robin@alldunn.com>
Wed, 20 Oct 1999 17:46:37 +0000 (17:46 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 20 Oct 1999 17:46:37 +0000 (17:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/ole/dataobj.cpp

index a4209d8a43334f3c41f32fdc12b6983f85222d70..14ae6ed6a880334eb1101f26f169ffa63e1e0166 100644 (file)
@@ -43,7 +43,7 @@
 #endif
 #include <oleauto.h>
 
-#ifndef __WIN32__  
+#ifndef __WIN32__
   #include <ole2.h>
   #include <olestd.h>
 #endif
@@ -482,10 +482,11 @@ STDMETHODIMP wxIDataObject::QueryGetData(FORMATETC *pformatetc)
 #endif // Debug
     }
     else {
+#ifdef __WXDEBUG__
         wxLogTrace(wxTRACE_OleCalls,
                    wxT("wxIDataObject::QueryGetData: %s unsupported"),
                    wxDataObject::GetFormatName(format));
-
+#endif
         return DV_E_FORMATETC;
     }