From: Vadim Zeitlin Date: Tue, 5 Dec 2006 17:04:41 +0000 (+0000) Subject: use #define instead of static const to avoid warnings about unused TRACE_CLIPBRD... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1457f12c3117131270a593bf0595ca74b5e523d0 use #define instead of static const to avoid warnings about unused TRACE_CLIPBRD in release builds with compilers which do support vararg macros git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/clipbrd.cpp b/src/gtk/clipbrd.cpp index 4444320855..1bda9b97d2 100644 --- a/src/gtk/clipbrd.cpp +++ b/src/gtk/clipbrd.cpp @@ -37,7 +37,7 @@ extern GdkAtom g_altTextAtom; // 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 = _T("clipboard"); +#define TRACE_CLIPBOARD _T("clipboard") //----------------------------------------------------------------------------- // reminder