[1/3] comctl32/tab: Add a test for TCM_SETITEMEXTRA

Vitaliy Margolen wine-devel at kievinfo.com
Mon Sep 27 01:14:59 CDT 2010


On 09/26/2010 05:08 PM, Nikolay Sivov wrote:
> Add a test for TCM_SETITEMEXTRA
>
>
>
>

> +static HWND parent_wnd;
> -static void test_curfocus(HWND parent_wnd, INT nTabs)
> +static void test_curfocus(void)
>  {
> -    hTab = createFilledTabControl(parent_wnd, TCS_FIXEDWIDTH, TCIF_TEXT|TCIF_IMAGE, nTabs);
> +    hTab = createFilledTabControl(parent_wnd, TCS_FIXEDWIDTH, TCIF_TEXT|TCIF_IMAGE, 5);

So how is the global better then function parameter? Or a magic number?

Vitaliy.



More information about the wine-devel mailing list