aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/win32/init.rs4
1 files changed, 4 insertions, 0 deletions
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;