diff options
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs index 9d44e02..bc268fc 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -362,10 +362,10 @@ extern "stdcall" fn callback(window: ffi::HWND, msg: ffi::UINT, }, ffi::WM_SIZE => { - use SizeChanged; + use Resized; let w = ffi::LOWORD(lparam as ffi::DWORD) as uint; let h = ffi::HIWORD(lparam as ffi::DWORD) as uint; - send_event(window, SizeChanged(w, h)); + send_event(window, Resized(w, h)); 0 }, |