diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index a4209d8a43..14ae6ed6a8 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -43,7 +43,7 @@ #endif #include -#ifndef __WIN32__ +#ifndef __WIN32__ #include #include #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; }