diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-12 10:16:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-12 10:16:00 (GMT) |
commit | 011db3181f22da410d14abd5df6dc1da7d0fed6f (patch) | |
tree | 4d01ddf684235961ad07ecd0e91e4b3136de618d /win/tkWinWm.c | |
parent | 950726731dd2068e363d294fedc3d3a68da2698b (diff) | |
parent | a57e550fe40ed58660f2b7e50f64f56bbc0e9518 (diff) | |
download | tk-011db3181f22da410d14abd5df6dc1da7d0fed6f.zip tk-011db3181f22da410d14abd5df6dc1da7d0fed6f.tar.gz tk-011db3181f22da410d14abd5df6dc1da7d0fed6f.tar.bz2 |
Merge trunk. Clean-up win32 systray code (not completed yet, still some ANSI functions are used which cannot handle full Unicode)
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 739f5f4..4c0a863 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -500,29 +500,6 @@ static void WmUpdateGeom(WmInfo *wmPtr, TkWindow *winPtr); #define WIDTHBYTES(bits) ((((bits) + 31)>>5)<<2) - -/* - *---------------------------------------------------------------------- - * - * PaletteSize -- - * - * Calculates the number of bytes in the color table, as given by LPSTR - * lpbi - pointer to the CF_DIB memory block. Used by titlebar icon code. - * - * Results: - * Number of bytes in the color table - * - *---------------------------------------------------------------------- - */ -static WORD -PaletteSize( - LPSTR lpbi) -{ - return (WORD) (DIBNumColors(lpbi) * sizeof(RGBQUAD)); -} - - - /* *---------------------------------------------------------------------- * |