From 740d6bc3a02527bc96ef335c51ef7e8bc406d5cd Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Mon, 17 Jan 2005 13:38:28 +0000 Subject: [PATCH] Remove needless check for horizontal or vertical pager. --- dlls/comctl32/pager.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dlls/comctl32/pager.c b/dlls/comctl32/pager.c index f8519e00c4..a87d34c560 100644 --- a/dlls/comctl32/pager.c +++ b/dlls/comctl32/pager.c @@ -836,16 +836,6 @@ PAGER_Create (HWND hwnd, WPARAM wParam, LPARAM lParam) if (dwStyle & PGS_DRAGNDROP) FIXME("[%p] Drag and Drop style is not implemented yet.\n", hwnd); - /* - * If neither horizontal nor vertical style specified, default to vertical. - * This is probably not necessary, since the style may be set later on as - * the control is initialized, but just in case it isn't, set it here. - */ - if (!(dwStyle & PGS_HORZ) && !(dwStyle & PGS_VERT)) - { - dwStyle |= PGS_VERT; - SetWindowLongA(hwnd, GWL_STYLE, dwStyle); - } return 0; } -- 2.32.0.93.g670b81a890