Can't hide “Preferences” item in edit-menu
问题 How do I hide "Preferences" item in this picture when "undo and redo" items are able to hide? I tried using (preferences:hide-dialog) but there was no difference in GUI. #lang racket/gui (require framework) (define menu-super-frame% (frame:standard-menus-mixin frame:basic%)) (define menu-frame% (class menu-super-frame% (inherit get-file-menu set-icon) ;hiding items in edit menu (define/override (edit-menu:create-undo?) #f) (define/override (edit-menu:create-redo?) #f) (super-new))) (define