From de0d8e4322d9601ff5a95bf50c8d2c9d0065accf Mon Sep 17 00:00:00 2001 From: mdejong Date: Thu, 23 Sep 2004 00:35:08 +0000 Subject: * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA defines so that compiling with mingw works again. --- ChangeLog | 5 +++++ win/tkWinWm.c | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b9a8524..85c37a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-09-22 Mo DeJong + + * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA + defines so that compiling with mingw works again. + 2004-09-20 Jeff Hobbs * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attribute diff --git a/win/tkWinWm.c b/win/tkWinWm.c index bc5c387..67cfad2 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.54.2.11 2004/09/21 00:08:56 hobbs Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.54.2.12 2004/09/23 00:35:09 mdejong Exp $ */ #include "tkWinInt.h" #include -#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 -- cgit v0.12