diff --git a/example/windows/win32_window.cc b/example/windows/win32_window.cc index 4441933f4..d79b4e0a9 100644 --- a/example/windows/win32_window.cc +++ b/example/windows/win32_window.cc @@ -114,6 +114,11 @@ Win32Window::MessageHandler(HWND hwnd, UINT const message, WPARAM const wparam, SetFocus(child_content_); } return 0; + + // Messages that are directly forwarded to embedding. + case WM_FONTCHANGE: + SendMessage(child_content_, WM_FONTCHANGE, NULL, NULL); + return 0; } return DefWindowProc(window_handle_, message, wparam, lparam); diff --git a/testbed/windows/win32_window.cc b/testbed/windows/win32_window.cc index 4441933f4..d79b4e0a9 100644 --- a/testbed/windows/win32_window.cc +++ b/testbed/windows/win32_window.cc @@ -114,6 +114,11 @@ Win32Window::MessageHandler(HWND hwnd, UINT const message, WPARAM const wparam, SetFocus(child_content_); } return 0; + + // Messages that are directly forwarded to embedding. + case WM_FONTCHANGE: + SendMessage(child_content_, WM_FONTCHANGE, NULL, NULL); + return 0; } return DefWindowProc(window_handle_, message, wparam, lparam);