Style: Add WARNING: as new comment admonition
This commit is contained in:
parent
0a9d8f04c1
commit
32c83a228d
13 changed files with 46 additions and 34 deletions
|
|
@ -3962,9 +3962,9 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
|||
}
|
||||
}
|
||||
|
||||
// WARNING: we get called with events before the window is registered in our collection
|
||||
// WARNING: We get called with events before the window is registered in our collection
|
||||
// specifically, even the call to CreateWindowEx already calls here while still on the stack,
|
||||
// so there is no way to store the window handle in our collection before we get here
|
||||
// so there is no way to store the window handle in our collection before we get here.
|
||||
if (!window_created) {
|
||||
// don't let code below operate on incompletely initialized window objects or missing window_id
|
||||
return _handle_early_window_message(hWnd, uMsg, wParam, lParam);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue