mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
Moved to WM_NCCREATE.
This commit is contained in:
parent
f91d1d967f
commit
cda5b25cb2
@ -396,7 +396,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
|||||||
|
|
||||||
switch (uMsg)
|
switch (uMsg)
|
||||||
{
|
{
|
||||||
case WM_CREATE:
|
case WM_NCCREATE:
|
||||||
{
|
{
|
||||||
CREATESTRUCTW* cs = (CREATESTRUCTW*) lParam;
|
CREATESTRUCTW* cs = (CREATESTRUCTW*) lParam;
|
||||||
SetWindowLongPtrW(hWnd, 0, (LONG_PTR) cs->lpCreateParams);
|
SetWindowLongPtrW(hWnd, 0, (LONG_PTR) cs->lpCreateParams);
|
||||||
|
Loading…
Reference in New Issue
Block a user