New debug scheme with explicit debug channels declaration.
diff --git a/controls/combo.c b/controls/combo.c
index 6b1b3f8..d99d48c 100644
--- a/controls/combo.c
+++ b/controls/combo.c
@@ -20,6 +20,8 @@
#include "debug.h"
#include "tweak.h"
+DEFAULT_DEBUG_CHANNEL(combo)
+
/* bits in the dwKeyData */
#define KEYDATA_ALT 0x2000
#define KEYDATA_PREVSTATE 0x4000
diff --git a/controls/edit.c b/controls/edit.c
index 9590fe3..5b1e170 100644
--- a/controls/edit.c
+++ b/controls/edit.c
@@ -22,6 +22,10 @@
#include "callback.h"
#include "tweak.h"
+DECLARE_DEBUG_CHANNEL(combo)
+DECLARE_DEBUG_CHANNEL(edit)
+DECLARE_DEBUG_CHANNEL(relay)
+
#define BUFLIMIT_MULTI 65534 /* maximum buffer size (not including '\0')
FIXME: BTW, new specs say 65535 (do you dare ???) */
#define BUFLIMIT_SINGLE 32766 /* maximum buffer size (not including '\0') */
diff --git a/controls/listbox.c b/controls/listbox.c
index dae876d..f64037a 100644
--- a/controls/listbox.c
+++ b/controls/listbox.c
@@ -17,6 +17,9 @@
#include "debug.h"
#include "tweak.h"
+DECLARE_DEBUG_CHANNEL(combo)
+DECLARE_DEBUG_CHANNEL(listbox)
+
/* Unimplemented yet:
* - LBS_NOSEL
* - LBS_USETABSTOPS
diff --git a/controls/menu.c b/controls/menu.c
index 85d1acf..abfddaa 100644
--- a/controls/menu.c
+++ b/controls/menu.c
@@ -32,6 +32,8 @@
#include "debug.h"
+DEFAULT_DEBUG_CHANNEL(menu)
+
/* internal popup menu window messages */
diff --git a/controls/scroll.c b/controls/scroll.c
index d5705cd..88ee856 100644
--- a/controls/scroll.c
+++ b/controls/scroll.c
@@ -12,6 +12,8 @@
#include "win.h"
#include "debug.h"
+DEFAULT_DEBUG_CHANNEL(scroll)
+
static HBITMAP hUpArrow = 0;
static HBITMAP hDnArrow = 0;
diff --git a/controls/static.c b/controls/static.c
index c7846e7..a6f21a4 100644
--- a/controls/static.c
+++ b/controls/static.c
@@ -14,6 +14,8 @@
#include "debug.h"
#include "tweak.h"
+DEFAULT_DEBUG_CHANNEL(static)
+
static void STATIC_PaintTextfn( WND *wndPtr, HDC hdc );
static void STATIC_PaintRectfn( WND *wndPtr, HDC hdc );
static void STATIC_PaintIconfn( WND *wndPtr, HDC hdc );
diff --git a/controls/uitools.c b/controls/uitools.c
index c83a805..0daff1c 100644
--- a/controls/uitools.c
+++ b/controls/uitools.c
@@ -8,6 +8,8 @@
#include "wine/winuser16.h"
#include "debug.h"
+DEFAULT_DEBUG_CHANNEL(graphics)
+
static const WORD wPattern_AA55[8] = { 0xaaaa, 0x5555, 0xaaaa, 0x5555,
0xaaaa, 0x5555, 0xaaaa, 0x5555 };