Commit ba1e75d9 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

comctl32: Properly set and store the default icon spacing.

parent 833c3425
......@@ -859,6 +859,10 @@ static void test_icon_spacing(void)
r = SendMessage(hwnd, WM_NOTIFYFORMAT, (WPARAM)hwndparent, (LPARAM)NF_REQUERY);
expect(NFR_ANSI, r);
/* reset the icon spacing to defaults */
SendMessage(hwnd, LVM_SETICONSPACING, 0, (LPARAM) MAKELONG(-1, -1));
/* now we can request what the defaults are */
r = SendMessage(hwnd, LVM_SETICONSPACING, 0, (LPARAM) MAKELONG(-1, -1));
w = LOWORD(r);
h = LOWORD(r);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment