Update the Windows runner for Gallery (#84020)

This commit is contained in:
Jason Simmons
2021-06-07 16:04:03 -07:00
committed by GitHub
parent 190a1a4a95
commit b3bde1d9da
13 changed files with 90 additions and 133 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) {