#include <string.h>
-
// the trace mask we use with wxLogTrace() - call
// wxLog::AddTraceMask(TRACE_CLIPBOARD) to enable the trace messages from here
// (there will be a *lot* of them!)
-static const wxChar *TRACE_CLIPBOARD = wxT("clipboard");
+#define TRACE_CLIPBOARD _T("clipboard")
IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject)
bool wxClipboard::IsSupported( const wxDataFormat &dataFormat )
{
+ wxLogTrace(TRACE_CLIPBOARD, wxT("Checking if format %s is available"),
+ dataFormat.GetId().c_str());
+
if ( m_data )
return m_data->IsSupported( dataFormat );
return wxDataObject::IsFormatInPasteboard( m_pasteboard, dataFormat );