]> git.saurik.com Git - wxWidgets.git/commitdiff
don't define TRACE_CLIPBOARD in release builds (fixes gcc warning)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2006 12:50:18 +0000 (12:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2006 12:50:18 +0000 (12:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/clipbrd.cpp

index 80a7a15d25a331ed6d2ab48df0137e48d861939f..c5abc23ce88e6af356b4a22c2de1085594c321ba 100644 (file)
@@ -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