mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:02:02 +00:00
[SDK][INCLUDE] layout.h: Delete an assertion for window style
WS_SIZEBOX or WS_THICKFRAME. CORE-9281
This commit is contained in:
parent
7caf9e9d48
commit
6b2e79d067
1 changed files with 0 additions and 2 deletions
|
@ -237,9 +237,7 @@ LayoutInit(HWND hwndParent, const LAYOUT_INFO *pLayouts, INT cLayouts)
|
||||||
}
|
}
|
||||||
memcpy(pData->m_pLayouts, pLayouts, cb);
|
memcpy(pData->m_pLayouts, pLayouts, cb);
|
||||||
|
|
||||||
/* NOTE: The parent window must have initially WS_SIZEBOX style. */
|
|
||||||
assert(IsWindow(hwndParent));
|
assert(IsWindow(hwndParent));
|
||||||
assert(GetWindowLongPtrW(hwndParent, GWL_STYLE) & WS_SIZEBOX);
|
|
||||||
|
|
||||||
pData->m_hwndParent = hwndParent;
|
pData->m_hwndParent = hwndParent;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue