From d04cc1d5da9b54e5705691596a01badb7f3d27fa Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 4 Dec 2006 17:11:37 +0000 Subject: [PATCH] quick fix for TRACE_DND being undefined for compilers without vararg macros support in release builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk1/dnd.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gtk1/dnd.cpp b/src/gtk1/dnd.cpp index 38e37d4e63..e90fecfe8c 100644 --- a/src/gtk1/dnd.cpp +++ b/src/gtk1/dnd.cpp @@ -53,12 +53,10 @@ extern bool g_blockEventsOnDrag; // the flags used for the last DoDragDrop() static long gs_flagsForDrag = 0; -#ifdef __WXDEBUG__ // the trace mask we use with wxLogTrace() - call // wxLog::AddTraceMask(TRACE_DND) to enable the trace messages from here // (there are quite a few of them, so don't enable this by default) -static const wxChar *TRACE_DND = _T("dnd"); -#endif +#define TRACE_DND _T("dnd") // global variables because GTK+ DnD want to have the // mouse event that caused it -- 2.47.2