diff options
author | das <das> | 2004-03-17 18:15:28 (GMT) |
---|---|---|
committer | das <das> | 2004-03-17 18:15:28 (GMT) |
commit | 65423864cf9618016945cddd968b3f2c4343dcfc (patch) | |
tree | a4d842ff3e2a8fc34e8fd25e2322f00537fdfae9 /library/demos | |
parent | a69b5b4fefe30134396d6269d0eca5fff4ba8500 (diff) | |
download | tk-65423864cf9618016945cddd968b3f2c4343dcfc.zip tk-65423864cf9618016945cddd968b3f2c4343dcfc.tar.gz tk-65423864cf9618016945cddd968b3f2c4343dcfc.tar.bz2 |
Removed support for Mac OS Classic platform [Patch 918139]
Diffstat (limited to 'library/demos')
-rw-r--r-- | library/demos/text.tcl | 4 | ||||
-rw-r--r-- | library/demos/widget | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/library/demos/text.tcl b/library/demos/text.tcl index 242dd54..0cc4870 100644 --- a/library/demos/text.tcl +++ b/library/demos/text.tcl @@ -3,7 +3,7 @@ # This demonstration script creates a text widget that describes # the basic editing functions. # -# RCS: @(#) $Id: text.tcl,v 1.4 2003/08/20 23:02:18 hobbs Exp $ +# RCS: @(#) $Id: text.tcl,v 1.5 2004/03/17 18:15:45 das Exp $ if {![info exists widgetDemo]} { error "This script should be run from the \"widget\" demo." @@ -68,7 +68,7 @@ insertion cursor. Control-z undoes the last editing action performed, and } switch $tcl_platform(platform) { - "unix" - "macintosh" { + "unix" { $w.text insert end "Control-Shift-z" } "windows" { 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)" |