From 6cb0fdc4c2105f3e168b224d91e41321d5f2f954 Mon Sep 17 00:00:00 2001 From: lfb Date: Tue, 9 Mar 1999 02:48:44 +0000 Subject: * win/makefile.vc: Added THREADDEFINES for building with threads enabled. Added tclThreadTest.obj to list of targets for building tktest. FossilOrigin-Name: 5ac37bf1d3a4c630f28c430f867e18be7b81c021 --- win/makefile.vc | 5 +++-- win/tkWinWm.c | 6 +++--- 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; -- cgit v0.12