From 837efc5460b1a9a4b692c823095e2b9c9a91fbef Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Tue, 12 Aug 2014 11:01:18 +0200 Subject: Fix attempt for #22 --- src/win32/init.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/win32/init.rs b/src/win32/init.rs index 69797b6..77a864e 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; -- cgit v1.2.3