X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d46359178b28cd86e189e877015a8e69ff5bbaa..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/mac/carbon/clipbrd.cpp diff --git a/src/mac/carbon/clipbrd.cpp b/src/mac/carbon/clipbrd.cpp index 2c6aaa81e2..7acd5845f4 100644 --- a/src/mac/carbon/clipbrd.cpp +++ b/src/mac/carbon/clipbrd.cpp @@ -33,11 +33,10 @@ #include - // 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) @@ -149,6 +148,9 @@ void wxClipboard::Close() 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 );