summaryrefslogtreecommitdiffstats
path: root/library/demos/widget
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/widget')
-rw-r--r--library/demos/widget8
1 files changed, 2 insertions, 6 deletions
diff --git a/library/demos/widget b/library/demos/widget
index a83b473..8c59d6c 100644
--- a/library/demos/widget
+++ b/library/demos/widget
@@ -11,7 +11,7 @@ exec wish "$0" "$@"
# ".tcl" files is this directory, which are sourced by this script
# as needed.
#
-# RCS: @(#) $Id: widget,v 1.22 2004/02/25 13:22:32 cc_benny Exp $
+# RCS: @(#) $Id: widget,v 1.23 2004/03/17 18:15:45 das Exp $
package require Tcl 8.4
package require Tk 8.4
@@ -104,7 +104,7 @@ menu .menuBar -tearoff 0
menu .menuBar.file -tearoff 0
# On the Mac use the specia .apple menu for the about item
-if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
+if {[tk windowingsystem] eq "aqua"} {
.menuBar add cascade -menu .menuBar.apple
menu .menuBar.apple -tearoff 0
.menuBar.apple add command -label [mc "About..."] -command {aboutBox}
@@ -575,10 +575,6 @@ proc printCode {w file} {
-message "Print spooling probably failed: $msg"
}
}
- macintosh {
- tk_messageBox -title "Operation not Implemented" \
- -message "Oops, sorry: not implemented yet!"
- }
default {
tk_messageBox -title "Operation not Implemented" \
-message "Wow! Unknown platform: $::tcl_platform(platform)"