Nicolas Le Cam : comctl32/tests: Fix a failing test for some platforms.
Alexandre Julliard
julliard at winehq.org
Tue Sep 16 06:54:19 CDT 2008
Module: wine
Branch: master
Commit: 47bcdc32a430e9940634b05a78c2c6af5f593026
URL: http://source.winehq.org/git/wine.git/?a=commit;h=47bcdc32a430e9940634b05a78c2c6af5f593026
Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Mon Sep 15 20:24:46 2008 +0200
comctl32/tests: Fix a failing test for some platforms.
---
dlls/comctl32/tests/trackbar.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/tests/trackbar.c b/dlls/comctl32/tests/trackbar.c
index d82cd98..00f7024 100644
--- a/dlls/comctl32/tests/trackbar.c
+++ b/dlls/comctl32/tests/trackbar.c
@@ -38,9 +38,9 @@ static const struct message create_parent_wnd_seq[] = {
{ WM_NCCREATE, sent },
{ WM_NCCALCSIZE, sent|wparam, 0 },
{ WM_CREATE, sent },
- { WM_QUERYNEWPALETTE, sent|optional },
{ WM_SHOWWINDOW, sent|wparam, 1 },
{ WM_WINDOWPOSCHANGING, sent|wparam, 0 },
+ { WM_QUERYNEWPALETTE, sent|optional },
{ WM_WINDOWPOSCHANGING, sent|wparam, 0 },
{ WM_ACTIVATEAPP, sent|wparam, 1 },
{ WM_NCACTIVATE, sent|wparam, 1 },
@@ -394,8 +394,9 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
LRESULT ret;
struct message msg;
- /* do not log painting messages */
- if (message != WM_PAINT &&
+ /* log system messages, except for painting */
+ if (message < WM_USER &&
+ message != WM_PAINT &&
message != WM_ERASEBKGND &&
message != WM_NCPAINT &&
message != WM_NCHITTEST &&
More information about the wine-cvs
mailing list