Style: Add WARNING: as new comment admonition

This commit is contained in:
Thaddeus Crews 2024-09-12 12:03:59 -05:00
parent 0a9d8f04c1
commit 32c83a228d
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
13 changed files with 46 additions and 34 deletions

View file

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