comctl32: Only log system messages.
This commit is contained in:
parent
48e6e584d3
commit
e1111a5bef
|
@ -157,8 +157,9 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
|
||||||
LRESULT ret;
|
LRESULT ret;
|
||||||
struct message msg;
|
struct message msg;
|
||||||
|
|
||||||
/* do not log painting messages */
|
/* log system messages, except for painting */
|
||||||
if (message != WM_PAINT &&
|
if (message < WM_USER &&
|
||||||
|
message != WM_PAINT &&
|
||||||
message != WM_ERASEBKGND &&
|
message != WM_ERASEBKGND &&
|
||||||
message != WM_NCPAINT &&
|
message != WM_NCPAINT &&
|
||||||
message != WM_NCHITTEST &&
|
message != WM_NCHITTEST &&
|
||||||
|
|
Loading…
Reference in New Issue