mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Bump windows-sys to 0.42 (#2540)
This commit is contained in:
@@ -71,7 +71,7 @@ core-graphics = "0.22.3"
|
||||
dispatch = "0.2.0"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||
version = "0.36"
|
||||
version = "0.42"
|
||||
features = [
|
||||
"Win32_Devices_HumanInterfaceDevice",
|
||||
"Win32_Foundation",
|
||||
|
||||
@@ -1037,7 +1037,7 @@ unsafe fn register_window_class<T: 'static>(
|
||||
.map(|icon| icon.inner.as_raw_handle())
|
||||
.unwrap_or(0);
|
||||
|
||||
use windows_sys::Win32::UI::WindowsAndMessaging::COLOR_WINDOWFRAME;
|
||||
use windows_sys::Win32::Graphics::Gdi::COLOR_WINDOWFRAME;
|
||||
let class = WNDCLASSEXW {
|
||||
cbSize: mem::size_of::<WNDCLASSEXW>() as u32,
|
||||
style: CS_HREDRAW | CS_VREDRAW,
|
||||
|
||||
Reference in New Issue
Block a user