From: Vadim Zeitlin Date: Tue, 31 Oct 2006 12:50:18 +0000 (+0000) Subject: don't define TRACE_CLIPBOARD in release builds (fixes gcc warning) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0b5750291a6edda78a42ba64e656932277e4aeaf?hp=04988ec423394b7f9464bb360f851b9d99617f48 don't define TRACE_CLIPBOARD in release builds (fixes gcc warning) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/x11/clipbrd.cpp b/src/x11/clipbrd.cpp index 80a7a15d25..c5abc23ce8 100644 --- a/src/x11/clipbrd.cpp +++ b/src/x11/clipbrd.cpp @@ -32,10 +32,12 @@ Atom g_clipboardAtom = 0; Atom g_targetsAtom = 0; #endif +#ifdef __WXDEBUG__ // 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"); +#endif // __WXDEBUG__ //----------------------------------------------------------------------------- // reminder