mirror of
https://github.com/fltk/fltk.git
synced 2026-02-05 15:59:50 +08:00
Additional menu code cleanup.
Better variable names, More descriptive integer types.
This commit is contained in:
408
src/Fl_Menu.cxx
408
src/Fl_Menu.cxx
File diff suppressed because it is too large
Load Diff
@@ -228,12 +228,11 @@ void menu_location_cb(Fl_Widget* w, void* data)
|
||||
smenubar = new Fl_Sys_Menu_Bar(0,0,0,30);
|
||||
smenubar->menu(menu);
|
||||
smenubar->callback(test_cb);
|
||||
}
|
||||
else { // switch to window menu bar
|
||||
} else { // switch to window menu bar
|
||||
menubar->copy(smenubar->menu());
|
||||
delete smenubar;
|
||||
menubar->show();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // HAS_MAC_APP_MENU
|
||||
|
||||
|
||||
Reference in New Issue
Block a user