diff options
author | mdejong <mdejong> | 2004-09-21 18:23:01 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2004-09-21 18:23:01 (GMT) |
commit | 3ad4d8ecb53ea55d4e3e0b98b04d4753c9745a04 (patch) | |
tree | fc97f6ac7a09fc47744be591764e473ded3be1d9 /win | |
parent | 7044fdb13db658c649413117167b5d87fa682134 (diff) | |
download | tk-3ad4d8ecb53ea55d4e3e0b98b04d4753c9745a04.zip tk-3ad4d8ecb53ea55d4e3e0b98b04d4753c9745a04.tar.gz tk-3ad4d8ecb53ea55d4e3e0b98b04d4753c9745a04.tar.bz2 |
* win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA
defines so that compiling with mingw works again.
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinWm.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index d58ad57..b6fa821 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -12,17 +12,19 @@ * 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.74 2004/09/21 00:09:19 hobbs Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.75 2004/09/21 18:23:01 mdejong Exp $ */ #include "tkWinInt.h" #include <shellapi.h> -#ifndef WS_EX_LAYERED /* - * This is only valid on Win2K/XP+. + * These next two defines are only valid on Win2K/XP+. */ +#ifndef WS_EX_LAYERED #define WS_EX_LAYERED 0x00080000 +#endif +#ifndef LWA_ALPHA #define LWA_ALPHA 0x00000002 #endif |