fix: fix examples

This commit is contained in:
Amr Bashir 2023-08-03 21:55:19 +03:00
parent 7ca4b11564
commit dc8e9d41fd
No known key found for this signature in database
GPG key ID: BBD7A47A2003FF33
4 changed files with 4 additions and 4 deletions

View file

@ -143,7 +143,7 @@ fn main() {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}
let menu_channel = MenuEvent::receiver();

View file

@ -133,7 +133,7 @@ fn main() {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}
let menu_channel = MenuEvent::receiver();

View file

@ -133,7 +133,7 @@ fn main() {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}
let menu_channel = MenuEvent::receiver();

View file

@ -146,7 +146,7 @@ fn main() -> wry::Result<()> {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}
#[cfg(windows)]