Fix attempt for #22

This commit is contained in:
Tomaka17 2014-08-12 11:01:18 +02:00
parent 53b9d6398c
commit 837efc5460

View file

@ -402,6 +402,10 @@ extern "stdcall" fn callback(window: ffi::HWND, msg: ffi::UINT,
0 0
}, },
ffi::WM_ERASEBKGND => {
1
},
ffi::WM_SIZE => { ffi::WM_SIZE => {
use Resized; use Resized;
let w = ffi::LOWORD(lparam as ffi::DWORD) as uint; let w = ffi::LOWORD(lparam as ffi::DWORD) as uint;