summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormdejong <mdejong>2004-09-21 18:23:01 (GMT)
committermdejong <mdejong>2004-09-21 18:23:01 (GMT)
commitde82f6faac81acdc141df0474176f05fe79cd24e (patch)
treefc97f6ac7a09fc47744be591764e473ded3be1d9
parentf17dea895b6b13f00c8d4bab246ae6077cb1674e (diff)
downloadtk-de82f6faac81acdc141df0474176f05fe79cd24e.zip
tk-de82f6faac81acdc141df0474176f05fe79cd24e.tar.gz
tk-de82f6faac81acdc141df0474176f05fe79cd24e.tar.bz2
* win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA
defines so that compiling with mingw works again.
-rw-r--r--ChangeLog5
-rw-r--r--win/tkWinWm.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index dd0e17a..88eac80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-21 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA
+ defines so that compiling with mingw works again.
+
2004-09-20 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attribute
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