mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 05:21:31 +11:00
Bump windows-sys
to 0.42 (#2540)
This commit is contained in:
parent
04d9e081b8
commit
a7a7cc64cd
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue