allow DefWindowProc to be called in the case of WM_PAINT
This commit is contained in:
parent
ab0cb10a22
commit
365cc8c018
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue