add window ext trait

This commit is contained in:
Jonathan Kelley committed 2024-01-06 02:18:26 -08:00
1 parent 4d8592efda
commit 9d4a8e1622
1 file changed
+3
+3
View File
@@ -15,6 +15,9 @@ mod impl_ {
#[allow(unused)]
pub fn build_menu_bar(menu: Menu, window: &Window) {
#[cfg(target_os = "windows")]
use tao::platform::windows::WindowExtWindows;
#[cfg(target_os = "windows")]
menu.init_for_hwnd(window.hwnd());