diff --git a/src/win32/init.rs b/src/win32/init.rs index 69797b64..77a864ed 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -402,6 +402,10 @@ extern "stdcall" fn callback(window: ffi::HWND, msg: ffi::UINT, 0 }, + ffi::WM_ERASEBKGND => { + 1 + }, + ffi::WM_SIZE => { use Resized; let w = ffi::LOWORD(lparam as ffi::DWORD) as uint;