mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:31:45 +00:00
comctl32/tests: Remove variables cx and cy which are not really used from test_approximate_viewrect.
This commit is contained in:
parent
448a8bb594
commit
b021128c4b
|
@ -4120,15 +4120,11 @@ static void test_approximate_viewrect(void)
|
||||||
{
|
{
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
DWORD ret;
|
DWORD ret;
|
||||||
INT cx, cy;
|
|
||||||
HIMAGELIST himl;
|
HIMAGELIST himl;
|
||||||
HBITMAP hbmp;
|
HBITMAP hbmp;
|
||||||
LVITEMA itema;
|
LVITEMA itema;
|
||||||
static CHAR test[] = "abracadabra, a very long item label";
|
static CHAR test[] = "abracadabra, a very long item label";
|
||||||
|
|
||||||
cx = GetSystemMetrics(SM_CXICONSPACING) - GetSystemMetrics(SM_CXICON);
|
|
||||||
cy = GetSystemMetrics(SM_CYICONSPACING) - GetSystemMetrics(SM_CYICON);
|
|
||||||
|
|
||||||
hwnd = create_listview_control(LVS_ICON);
|
hwnd = create_listview_control(LVS_ICON);
|
||||||
himl = ImageList_Create(40, 40, 0, 4, 4);
|
himl = ImageList_Create(40, 40, 0, 4, 4);
|
||||||
ok(himl != NULL, "failed to create imagelist\n");
|
ok(himl != NULL, "failed to create imagelist\n");
|
||||||
|
|
Loading…
Reference in a new issue