summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authordas <das>2005-05-24 02:32:41 (GMT)
committerdas <das>2005-05-24 02:32:41 (GMT)
commit8af28a60a3fb7b5f081306ab209f8727994ffa8d (patch)
tree5fe820f7cadb4f2bb7c690ed274a723315bdc84f /generic/tkTest.c
parent1e58aed85b1e82c77ed2ae05aab1db5c9b7f8023 (diff)
downloadtk-8af28a60a3fb7b5f081306ab209f8727994ffa8d.zip
tk-8af28a60a3fb7b5f081306ab209f8727994ffa8d.tar.gz
tk-8af28a60a3fb7b5f081306ab209f8727994ffa8d.tar.bz2
* generic/tkTest.c: disable commands not available on TkAqua.
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 7a5256f..846d87e 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.24 2004/09/10 12:13:40 vincentdarley Exp $
+ * RCS: @(#) $Id: tkTest.c,v 1.25 2005/05/24 02:32:42 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__))
+#if !(defined(__WIN32__) || 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__))
+#if !(defined(__WIN32__) || 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__))
+#if !(defined(__WIN32__) || defined(MAC_OSX_TK))
static int
TestsendCmd(clientData, interp, argc, argv)
ClientData clientData; /* Main window for application. */