summaryrefslogtreecommitdiffstats
path: root/win/tkWinInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-09-23 01:08:11 (GMT)
committerhobbs <hobbs>2004-09-23 01:08:11 (GMT)
commit1709b7b141a400dba7c70616c6a6d46cb0ceaea0 (patch)
treefd784f52acf31c941302f0a30a35e5a2dc79e215 /win/tkWinInt.h
parenta25c5763f281dd91e24bcdff1ef95473cca5eb0f (diff)
downloadtk-1709b7b141a400dba7c70616c6a6d46cb0ceaea0.zip
tk-1709b7b141a400dba7c70616c6a6d46cb0ceaea0.tar.gz
tk-1709b7b141a400dba7c70616c6a6d46cb0ceaea0.tar.bz2
* win/tkWinInt.h (TkWinDisplayChanged): added decl
* win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color and screen resolution changes. Tested for 16/24/32 bpp changes on XP. May need more fixes for 8bpp switch, use of special colormaps, or other special palette handling cases. [Bug 223689]
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r--win/tkWinInt.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h
index 0d14a0d..dfb0f35 100644
--- a/win/tkWinInt.h
+++ b/win/tkWinInt.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinInt.h,v 1.18 2004/09/21 19:13:58 mdejong Exp $
+ * RCS: @(#) $Id: tkWinInt.h,v 1.19 2004/09/23 01:08:11 hobbs Exp $
*/
#ifndef _TKWININT
@@ -172,6 +172,11 @@ EXTERN void TkWinUpdatingClipboard(int mode);
EXTERN HICON TkWinGetIcon(Tk_Window tkw, DWORD iconsize);
/*
+ * Used by tkWinX.c on for certain system display change messages
+ */
+EXTERN void TkWinDisplayChanged(Display *display);
+
+/*
* The following structure keeps track of whether we are using the
* multi-byte or the wide-character interfaces to the operating system.
* System calls should be made through the following function table.