From 365cc8c01883124de8b5d2634b9b5c2d5aec5579 Mon Sep 17 00:00:00 2001 From: Micah Johnston Date: Mon, 7 Dec 2020 00:42:09 -0600 Subject: [PATCH] allow DefWindowProc to be called in the case of WM_PAINT --- src/win/window.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/win/window.rs b/src/win/window.rs index dcd356b..1318755 100644 --- a/src/win/window.rs +++ b/src/win/window.rs @@ -136,9 +136,6 @@ unsafe extern "system" fn wnd_proc( handle_timer(&window_state, wparam); return 0; } - WM_PAINT => { - return 0; - } WM_CLOSE => { window_state .borrow_mut()