summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2005-05-24 04:21:01 (GMT)
committerdas <das>2005-05-24 04:21:01 (GMT)
commit5be843b40e45bf4ee2b4cb252a4d877ed85b8563 (patch)
tree333f3985148278f52474687f3b35c7adcf8f7c31 /generic
parentdc8ee5b431125a0255f1173bda7462b8edeeb406 (diff)
downloadtk-5be843b40e45bf4ee2b4cb252a4d877ed85b8563.zip
tk-5be843b40e45bf4ee2b4cb252a4d877ed85b8563.tar.gz
tk-5be843b40e45bf4ee2b4cb252a4d877ed85b8563.tar.bz2
* generic/tkTest.c: disable commands not available on TkAqua.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 5392fa3..320d5a3 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTest.c,v 1.21 2002/09/02 19:14:04 hobbs Exp $
+ * RCS: @(#) $Id: tkTest.c,v 1.21.2.1 2005/05/24 04:21:01 das Exp $
*/
#include "tkInt.h"
@@ -281,7 +281,7 @@ Tktest_Init(interp)
(ClientData) Tk_MainWindow(interp), (Tcl_CmdDeleteProc *) NULL);
Tcl_CreateCommand(interp, "testmakeexist", TestmakeexistCmd,
(ClientData) Tk_MainWindow(interp), (Tcl_CmdDeleteProc *) NULL);
-#if !(defined(__WIN32__) || defined(MAC_TCL))
+#if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK))
Tcl_CreateCommand(interp, "testmenubar", TestmenubarCmd,
(ClientData) Tk_MainWindow(interp), (Tcl_CmdDeleteProc *) NULL);
#endif
@@ -291,7 +291,7 @@ Tktest_Init(interp)
#endif
Tcl_CreateCommand(interp, "testprop", TestpropCmd,
(ClientData) Tk_MainWindow(interp), (Tcl_CmdDeleteProc *) NULL);
-#if !(defined(__WIN32__) || defined(MAC_TCL))
+#if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK))
Tcl_CreateCommand(interp, "testsend", TestsendCmd,
(ClientData) Tk_MainWindow(interp), (Tcl_CmdDeleteProc *) NULL);
#endif
@@ -2190,7 +2190,7 @@ TestpropCmd(clientData, interp, argc, argv)
*/
/* ARGSUSED */
-#if !(defined(__WIN32__) || defined(MAC_TCL))
+#if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK))
static int
TestsendCmd(clientData, interp, argc, argv)
ClientData clientData; /* Main window for application. */