aboutsummaryrefslogtreecommitdiff
path: root/osmenu.icl
diff options
context:
space:
mode:
authorCamil Staps2015-08-21 19:58:16 +0200
committerCamil Staps2015-08-21 19:58:16 +0200
commitdf0f49ad51e27621dcb6aa2dd26ef094b6b282d0 (patch)
treec9ff4e6b8ebdd829c281de692d3f7007284a5cd2 /osmenu.icl
parentFixing hmm and similar functions (diff)
Keyboard shortcuts working
Diffstat (limited to 'osmenu.icl')
-rw-r--r--osmenu.icl3
1 files changed, 0 insertions, 3 deletions
diff --git a/osmenu.icl b/osmenu.icl
index 72e3daf..6e80ee7 100644
--- a/osmenu.icl
+++ b/osmenu.icl
@@ -120,9 +120,6 @@ osTrackPopUpMenu menu framePtr tb
// Changing (sub)menus:
osAppendMenuItem :: !OSMenuBar !Int !OSMenu !{#Char} !Bool !Bool !Char !*OSToolbox -> (!OSMenuItem,!OSMenu,!*OSToolbox)
osAppendMenuItem {menuWindow} index menu title able mark key tb
- # title = if (key <> '\0')
- (title +++ "\tCtrl+" +++ toString (toUpper key))
- title
# (item,tb) = winInsertMenuItem title able mark menu index tb
| key <> '\0'
= (item,menu,winAddMenuShortKey menuWindow item key tb)