mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
Removed dummy logging
This commit is contained in:
parent
fb7d4b0d08
commit
ee3b185098
|
@ -935,7 +935,6 @@ impl Window {
|
|||
|
||||
for menu in self.menus.iter() {
|
||||
for item in menu.accel_table.iter() {
|
||||
println!("virt {} - cmd {} - key {}", item.fVirt, item.cmd, item.key);
|
||||
temp_accel_table.push(item.clone());
|
||||
}
|
||||
}
|
||||
|
@ -948,8 +947,6 @@ impl Window {
|
|||
temp_accel_table.as_mut_ptr(),
|
||||
temp_accel_table.len() as i32,
|
||||
);
|
||||
|
||||
println!("accel {:?}", self.accel_table);
|
||||
}
|
||||
|
||||
pub fn add_menu(&mut self, menu: &Menu) -> MenuHandle {
|
||||
|
@ -990,7 +987,6 @@ impl Window {
|
|||
for i in 0..self.menus.len() {
|
||||
if self.menus[i].menu_handle == handle.0 as windef::HMENU {
|
||||
unsafe {
|
||||
println!("Removed menu at {}", i);
|
||||
let _t = winuser::RemoveMenu(main_menu, i as minwindef::UINT, 0);
|
||||
winuser::DrawMenuBar(self.window.unwrap());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue