fix crash when encoding Error object

This commit is contained in:
ekibun
2022-03-13 13:51:17 +08:00
parent 8b279c2926
commit 819186399e
62 changed files with 1117 additions and 4929 deletions

View File

@@ -173,7 +173,7 @@ Win32Window::MessageHandler(HWND hwnd,
return 0;
}
case WM_SIZE:
case WM_SIZE: {
RECT rect = GetClientArea();
if (child_content_ != nullptr) {
// Size and position the child window.
@@ -181,6 +181,7 @@ Win32Window::MessageHandler(HWND hwnd,
rect.bottom - rect.top, TRUE);
}
return 0;
}
case WM_ACTIVATE:
if (child_content_ != nullptr) {