macOS move impl details of platform into platform_impl
This commit is contained in:
parent
5eb9c9504b
commit
11a44081df
4 changed files with 22 additions and 9 deletions
|
|
@ -112,9 +112,7 @@ impl WindowExtWindows for Window {
|
|||
|
||||
#[inline]
|
||||
fn set_enable(&self, enabled: bool) {
|
||||
unsafe {
|
||||
winapi::um::winuser::EnableWindow(self.hwnd() as _, enabled as _);
|
||||
}
|
||||
self.window.set_enable(enabled)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue