1
0
Fork 0

allow DefWindowProc to be called in the case of WM_PAINT

This commit is contained in:
Micah Johnston 2020-12-07 00:42:09 -06:00 committed by glowcoil
parent ab0cb10a22
commit 365cc8c018

View file

@ -136,9 +136,6 @@ unsafe extern "system" fn wnd_proc<H: WindowHandler>(
handle_timer(&window_state, wparam); handle_timer(&window_state, wparam);
return 0; return 0;
} }
WM_PAINT => {
return 0;
}
WM_CLOSE => { WM_CLOSE => {
window_state window_state
.borrow_mut() .borrow_mut()