Bump windows-sys to 0.42 (#2540)

This commit is contained in:
Ihor Ranchynskyi authored and GitHub committed 2022-10-31 23:19:45 +01:00
1 parent 04d9e081b8
commit a7a7cc64cd
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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,