diff options
-rw-r--r-- | src/win32/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs index a380c84..88ff069 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -39,7 +39,7 @@ pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: Strin let class = ffi::WNDCLASSEX { cbSize: mem::size_of::<ffi::WNDCLASSEX>() as ffi::UINT, - style: ffi::CS_HREDRAW | ffi::CS_VREDRAW, + style: ffi::CS_HREDRAW | ffi::CS_VREDRAW | ffi::CS_OWNDC, lpfnWndProc: callback, cbClsExtra: 0, cbWndExtra: 0, |