summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorlfb <lfb>1999-03-09 02:48:44 (GMT)
committerlfb <lfb>1999-03-09 02:48:44 (GMT)
commitf1fb5c58bd8d94558811b056659e7f2b5888b272 (patch)
tree01011e04146f003503fb460741734d45dcc1b8bd /win
parente83a048bf0829ed0af052d2b97ba6752bb6a67c9 (diff)
downloadtk-f1fb5c58bd8d94558811b056659e7f2b5888b272.zip
tk-f1fb5c58bd8d94558811b056659e7f2b5888b272.tar.gz
tk-f1fb5c58bd8d94558811b056659e7f2b5888b272.tar.bz2
* win/makefile.vc: Added THREADDEFINES for building with
threads enabled. Added tclThreadTest.obj to list of targets for building tktest.
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc5
-rw-r--r--win/tkWinWm.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 8c6ab65..598e9fa 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -4,7 +4,7 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
-# RCS: @(#) $Id: makefile.vc,v 1.1.4.12 1999/03/09 01:34:50 lfb Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.1.4.13 1999/03/09 02:48:44 lfb Exp $
# Does not depend on the presence of any environment variables in
# order to compile tcl; all needed information is derived from
@@ -91,7 +91,8 @@ WISHOBJS = \
TKTESTOBJS = \
$(TMPDIR)\tkTest.obj \
$(TMPDIR)\tkSquare.obj \
- $(TMPDIR)\testMain.obj
+ $(TMPDIR)\testMain.obj \
+ $(TMPDIR)\tkThreadTest.obj
XLIBOBJS = \
$(TMPDIR)\xcolors.obj \
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 51dd28d..d3689b1 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinWm.c,v 1.1.4.10 1999/03/09 01:47:27 lfb Exp $
+ * RCS: @(#) $Id: tkWinWm.c,v 1.1.4.11 1999/03/09 02:48:44 lfb Exp $
*/
#include "tkWinInt.h"
@@ -351,9 +351,9 @@ InitWm(void)
*/
#ifdef TCL_THREADS
- childClass.style = CS_HREDRAW | CS_VREDRAW;
+ classPtr->style = CS_HREDRAW | CS_VREDRAW;
#else
- childClass.style = CS_HREDRAW | CS_VREDRAW | CS_CLASSDC;
+ classPtr->style = CS_HREDRAW | CS_VREDRAW | CS_CLASSDC;
#endif
classPtr->cbClsExtra = 0;
classPtr->cbWndExtra = 0;