From b3f1ef757709f4cb14e34bf1f19ca233b635a84b Mon Sep 17 00:00:00 2001 From: David Rios Date: Fri, 25 Mar 2022 22:05:29 +0100 Subject: [PATCH] Remove unused function --- window/src/os/windows/window.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/window/src/os/windows/window.rs b/window/src/os/windows/window.rs index f43550695..f7e4f1081 100644 --- a/window/src/os/windows/window.rs +++ b/window/src/os/windows/window.rs @@ -1115,17 +1115,6 @@ fn apply_theme(hwnd: HWND) -> Option { None } -fn dispatch_appearance_changed(hwnd: HWND) -> Option { - if let Some(inner) = rc_from_hwnd(hwnd) { - let mut inner = inner.borrow_mut(); - let appearance = inner.appearance; - inner - .events - .dispatch(WindowEvent::AppearanceChanged(appearance)); - } - None -} - unsafe fn wm_enter_exit_size_move( hwnd: HWND, msg: UINT,