diff options
Diffstat (limited to 'library/ttk/notebook.tcl')
-rw-r--r-- | library/ttk/notebook.tcl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/library/ttk/notebook.tcl b/library/ttk/notebook.tcl index c5340a5..a871081 100644 --- a/library/ttk/notebook.tcl +++ b/library/ttk/notebook.tcl @@ -112,13 +112,8 @@ proc ttk::notebook::enableTraversal {nb} { catch { bind $top <Control-ISO_Left_Tab> {+ttk::notebook::TLCycleTab %W -1} } - if {[tk windowingsystem] eq "aqua"} { - bind $top <Option-Key> \ - +[list ttk::notebook::MnemonicActivation $top %K] - } else { - bind $top <Alt-Key> \ - +[list ttk::notebook::MnemonicActivation $top %K] - } + bind $top <Option-Key> \ + +[list ttk::notebook::MnemonicActivation $top %K] bind $top <Destroy> {+ttk::notebook::TLCleanup %W} } |