]> git.saurik.com Git - wxWidgets.git/commitdiff
quick fix for TRACE_DND being undefined for compilers without vararg macros support...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Dec 2006 17:11:37 +0000 (17:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Dec 2006 17:11:37 +0000 (17:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk1/dnd.cpp

index 38e37d4e634395ca0de4f0feffa0c852f774ca13..e90fecfe8cb414f450702c1ba7fa15996c0be398 100644 (file)
@@ -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