summaryrefslogtreecommitdiffstats
path: root/win/tkWinInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-09-23 01:49:07 (GMT)
committerhobbs <hobbs>2004-09-23 01:49:07 (GMT)
commit68271be9690735d4117ea37b838e775048e00b35 (patch)
tree082275483534361f0abebfef5eecb5b09f5e60e8 /win/tkWinInt.h
parenta5886e42f370fd93341943130884c3f271c4d119 (diff)
downloadtk-68271be9690735d4117ea37b838e775048e00b35.zip
tk-68271be9690735d4117ea37b838e775048e00b35.tar.gz
tk-68271be9690735d4117ea37b838e775048e00b35.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 7a1d1d7..d041db0 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.14.2.4 2004/09/23 00:56:15 mdejong Exp $
+ * RCS: @(#) $Id: tkWinInt.h,v 1.14.2.5 2004/09/23 01:49:08 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.