diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-03-25 00:14:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-03-25 00:14:34 +0000 |
commit | 75744612b54ea8d2ba4b34f8fa8391d4e0ca1846 (patch) | |
tree | 44cae793aed4fb594e13d31a56ca404ec697789e /windows/windbg.h | |
parent | 1c3ff8db7cb8b6dd3d54141b4c97b4a6ce4f1c3a (diff) | |
download | netsurf-75744612b54ea8d2ba4b34f8fa8391d4e0ca1846.tar.gz netsurf-75744612b54ea8d2ba4b34f8fa8391d4e0ca1846.tar.bz2 |
make windows about window functional
make url bar font more acceptable
svn path=/trunk/netsurf/; revision=12131
Diffstat (limited to 'windows/windbg.h')
-rw-r--r-- | windows/windbg.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 |