summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authormdejong <mdejong@noemail.net>2004-09-23 00:35:07 (GMT)
committermdejong <mdejong@noemail.net>2004-09-23 00:35:07 (GMT)
commit017ead363730c3b696720e8d54c8b324b5ca5264 (patch)
tree4daebe3f6998ec5b4880303535f326a21ee1f9bb /win
parentab0c23313660d737ff7f06be1ed23edcf81f0bd4 (diff)
downloadtk-017ead363730c3b696720e8d54c8b324b5ca5264.zip
tk-017ead363730c3b696720e8d54c8b324b5ca5264.tar.gz
tk-017ead363730c3b696720e8d54c8b324b5ca5264.tar.bz2
* win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA
defines so that compiling with mingw works again. FossilOrigin-Name: 5e334d0f00ef76a0f9a2150f2e2d72f2beaf93c3
Diffstat (limited to 'win')
-rw-r--r--win/tkWinWm.c8
1 files changed, 5 insertions, 3 deletions
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 <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