diff --git a/examples/menu.rs b/examples/menu.rs index b4a9f5c..3144647 100644 --- a/examples/menu.rs +++ b/examples/menu.rs @@ -1,7 +1,7 @@ extern crate minifb; -use minifb::{Window, Key, Scale, WindowOptions, Menu, MenuItem}; -use minifb::{MENU_KEY_COMMAND, MENU_KEY_CTRL}; +use minifb::{Window, Key, Scale, WindowOptions, Menu}; +use minifb::{MENU_KEY_CTRL}; const WIDTH: usize = 640; const HEIGHT: usize = 360; diff --git a/src/native/macosx/MacMiniFB.m b/src/native/macosx/MacMiniFB.m index 8c06cae..db71667 100644 --- a/src/native/macosx/MacMiniFB.m +++ b/src/native/macosx/MacMiniFB.m @@ -625,8 +625,6 @@ uint64_t mfb_add_menu_item( NSMenuItem* newItem = [[NSMenuItem alloc] initWithTitle:name action:@selector(onMenuPress:) keyEquivalent:@""]; [newItem setTag:menu_id]; - printf("set menu id %d\n", menu_id); - // This code may look a bit weird but is here for a reason: // // In order to make it easier to bulid cross-platform apps Ctrl is often used as