Remove needless check for horizontal or vertical pager.
This commit is contained in:
parent
4634447d6b
commit
740d6bc3a0
|
@ -836,16 +836,6 @@ PAGER_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
if (dwStyle & PGS_DRAGNDROP)
|
if (dwStyle & PGS_DRAGNDROP)
|
||||||
FIXME("[%p] Drag and Drop style is not implemented yet.\n", hwnd);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue