#pragma hdrstop
#endif
+#include <wx/defs.h>
+
+#if defined(__WIN32__) && !defined(__GNUWIN32__)
+
#include <wx/log.h>
#include <wx/msw/ole/oleutils.h>
#include <wx/msw/ole/dataobj.h>
}
// and now check the type of data requested
- if ( m_pDataObject->IsSupportedFormat(pformatetc->cfFormat) ) {
+ if ( m_pDataObject->IsSupportedFormat((wxDataFormat) pformatetc->cfFormat) ) {
wxLogTrace("wxIDataObject::QueryGetData: %s ok",
- wxDataObject::GetFormatName(pformatetc->cfFormat));
+ wxDataObject::GetFormatName((wxDataFormat) pformatetc->cfFormat));
return S_OK;
}
else {
wxLogTrace("wxIDataObject::QueryGetData: %s unsupported",
- wxDataObject::GetFormatName(pformatetc->cfFormat));
+ wxDataObject::GetFormatName((wxDataFormat) pformatetc->cfFormat));
return DV_E_FORMATETC;
}
}
const char *wxDataObject::GetFormatName(wxDataFormat format)
{
-#ifdef __DEBUG__
+#ifdef __WXDEBUG__
static char s_szBuf[128];
switch ( format ) {
case CF_TEXT: return "CF_TEXT";
return s_szBuf;
}
}
+
+#endif
+