Remove needless check for horizontal or vertical pager.

This commit is contained in:
Paul Vriens 2005-01-17 13:38:28 +00:00 committed by Alexandre Julliard
parent 4634447d6b
commit 740d6bc3a0
1 changed files with 0 additions and 10 deletions

View File

@ -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;
}