From 1457f12c3117131270a593bf0595ca74b5e523d0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Dec 2006 17:04:41 +0000 Subject: [PATCH] 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 --- src/gtk/clipbrd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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