mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated user32-MessageBox_WS_EX_TOPMOST patchset
Warning fixes.
This commit is contained in:
parent
356e684ae6
commit
f74e9e5a2b
@ -87,7 +87,7 @@ index b8eea98b6e..de6aa463e9 100644
|
||||
|
||||
UnhookWindowsHookEx(hook);
|
||||
+
|
||||
+ sprintf(params.caption, "pid %08x, tid %08x, time %08x",
|
||||
+ sprintf(params.caption, "pid %08lx, tid %08lx, time %08lx",
|
||||
+ GetCurrentProcessId(), GetCurrentThreadId(), GetCurrentTime());
|
||||
+
|
||||
+ params.owner = FALSE;
|
||||
@ -104,7 +104,7 @@ index b8eea98b6e..de6aa463e9 100644
|
||||
+ hwnd = wait_for_window(params.caption);
|
||||
+ ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE);
|
||||
+ todo_wine_if(test[i].ex_style == WS_EX_TOPMOST)
|
||||
+ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style);
|
||||
+ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style);
|
||||
+
|
||||
+ PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0);
|
||||
+
|
||||
@ -126,7 +126,7 @@ index b8eea98b6e..de6aa463e9 100644
|
||||
+ hwnd = wait_for_window(params.caption);
|
||||
+ ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE);
|
||||
+ todo_wine_if(test[i].ex_style == WS_EX_TOPMOST)
|
||||
+ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style);
|
||||
+ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style);
|
||||
+
|
||||
+ PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0);
|
||||
+
|
||||
|
@ -33,7 +33,7 @@ index 83a9efe0a24..4ac5b88717f 100644
|
||||
hwnd = wait_for_window(params.caption);
|
||||
ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE);
|
||||
- todo_wine_if(test[i].ex_style == WS_EX_TOPMOST)
|
||||
ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style);
|
||||
ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style);
|
||||
|
||||
PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0);
|
||||
@@ -2263,7 +2262,6 @@ static void test_MessageBox(void)
|
||||
@ -41,7 +41,7 @@ index 83a9efe0a24..4ac5b88717f 100644
|
||||
hwnd = wait_for_window(params.caption);
|
||||
ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE);
|
||||
- todo_wine_if(test[i].ex_style == WS_EX_TOPMOST)
|
||||
ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style);
|
||||
ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style);
|
||||
|
||||
PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0);
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user