|
@@ -15,6 +15,9 @@ mod impl_ {
|
|
|
|
|
|
#[allow(unused)]
|
|
#[allow(unused)]
|
|
pub fn build_menu_bar(menu: Menu, window: &Window) {
|
|
pub fn build_menu_bar(menu: Menu, window: &Window) {
|
|
|
|
+ #[cfg(target_os = "windows")]
|
|
|
|
+ use tao::platform::windows::WindowExtWindows;
|
|
|
|
+
|
|
#[cfg(target_os = "windows")]
|
|
#[cfg(target_os = "windows")]
|
|
menu.init_for_hwnd(window.hwnd());
|
|
menu.init_for_hwnd(window.hwnd());
|
|
|
|
|