Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/rebar.c:
#undef X }
+static void test_chevron(void) +{
- HWND hRebar;
- REBARBANDINFOA rbi;
- /* the gap between the child and the next band */
- enum { REBAR_POST_CHILD = 4 };
- hRebar = create_rebar_control(0);
- rbi.cbSize = REBARBANDINFOA_V6_SIZE;
- rbi.fMask = RBBIM_CHILD | RBBIM_CHILDSIZE | RBBIM_IDEALSIZE | RBBIM_SIZE | RBBIM_STYLE;
- rbi.cxIdeal = 128;
- rbi.cx = rbi.cxIdeal + REBAR_POST_CHILD - 1;
Is REBAR_POST_CHILD needed? Even if you do, it shouldn't be an enum.