summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-12 10:16:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-12 10:16:00 (GMT)
commit011db3181f22da410d14abd5df6dc1da7d0fed6f (patch)
tree4d01ddf684235961ad07ecd0e91e4b3136de618d /win/tkWinWm.c
parent950726731dd2068e363d294fedc3d3a68da2698b (diff)
parenta57e550fe40ed58660f2b7e50f64f56bbc0e9518 (diff)
downloadtk-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.c23
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));
-}
-
-
-
/*
*----------------------------------------------------------------------
*