Commit 9f1f5d88 authored by Alexandre Julliard's avatar Alexandre Julliard

comctl32: Print full flag values in traces.

parent 766768f0
...@@ -1396,7 +1396,7 @@ REBAR_Layout(REBAR_INFO *infoPtr) ...@@ -1396,7 +1396,7 @@ REBAR_Layout(REBAR_INFO *infoPtr)
adjcx = get_rect_cx(infoPtr, &rcAdj); adjcx = get_rect_cx(infoPtr, &rcAdj);
if (infoPtr->uNumBands == 0) { if (infoPtr->uNumBands == 0) {
TRACE("No bands - setting size to (0,%d), vert: %x\n", adjcx, infoPtr->dwStyle & CCS_VERT); TRACE("No bands - setting size to (0,%d), style: %x\n", adjcx, infoPtr->dwStyle);
infoPtr->calcSize.cx = adjcx; infoPtr->calcSize.cx = adjcx;
/* the calcSize.cy won't change for a 0 band rebar */ /* the calcSize.cy won't change for a 0 band rebar */
infoPtr->uNumRows = 0; infoPtr->uNumRows = 0;
......
...@@ -1917,7 +1917,7 @@ static void test_TB_GET_SET_EXTENDEDSTYLE(void) ...@@ -1917,7 +1917,7 @@ static void test_TB_GET_SET_EXTENDEDSTYLE(void)
ok(style == TBSTYLE_EX_VERTICAL, "got style 0x%08x, expected 0x%08x\n", style, TBSTYLE_EX_VERTICAL); ok(style == TBSTYLE_EX_VERTICAL, "got style 0x%08x, expected 0x%08x\n", style, TBSTYLE_EX_VERTICAL);
style = SendMessageA(hwnd, TB_GETSTYLE, 0, 0); style = SendMessageA(hwnd, TB_GETSTYLE, 0, 0);
todo_wine todo_wine
ok(style == CCS_VERT, "got style 0x%08x, expected 0x%08x\n", style, CCS_VERT); ok(style == CCS_VERT, "got style 0x%08x, expected CCS_VERT\n", style);
DestroyWindow(hwnd); DestroyWindow(hwnd);
} }
......
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