From 75744612b54ea8d2ba4b34f8fa8391d4e0ca1846 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 25 Mar 2011 00:14:34 +0000 Subject: make windows about window functional make url bar font more acceptable svn path=/trunk/netsurf/; revision=12131 --- windows/windbg.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'windows/windbg.h') diff --git a/windows/windbg.h b/windows/windbg.h index 086ed343e..6d2ab1aab 100644 --- a/windows/windbg.h +++ b/windows/windbg.h @@ -19,7 +19,16 @@ #ifndef _NETSURF_WINDOWS_WINDBG_H_ #define _NETSURF_WINDOWS_WINDBG_H_ +#include "utils/log.h" + const char *msg_num_to_name(int msg); void win_perror(const char * lpszFunction); +#define LOG_WIN_MSG(h, m, w, l) \ + if (((m) != WM_SETCURSOR) && \ + ((m) != WM_MOUSEMOVE) && \ + ((m) != WM_NCHITTEST) && \ + ((m) != WM_ENTERIDLE)) \ + LOG(("%s, hwnd %p, w 0x%x, l 0x%x", msg_num_to_name(m), h, w, l)); + #endif -- cgit v1.2.3