summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-23 16:27:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-23 16:27:32 (GMT)
commit9fad0cc49a86ed1a8fee748f4e4b7cbecb52758b (patch)
tree5358765134e81709dba0f77419c9a1557319be7a /win
parent0948306752ac58e7f1d55be77d8b6bf44e31df27 (diff)
downloadtk-9fad0cc49a86ed1a8fee748f4e4b7cbecb52758b.zip
tk-9fad0cc49a86ed1a8fee748f4e4b7cbecb52758b.tar.gz
tk-9fad0cc49a86ed1a8fee748f4e4b7cbecb52758b.tar.bz2
3 more places
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index d4ebd96..176ba88 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -782,7 +782,7 @@ Tk_ChooseColorObjCmd(
}
parent = tkwin;
- chooseColor.lStructSize = sizeof(CHOOSECOLOR);
+ chooseColor.lStructSize = sizeof(CHOOSECOLORW);
chooseColor.hwndOwner = NULL;
chooseColor.hInstance = NULL;
chooseColor.rgbResult = oldColor;
@@ -908,7 +908,7 @@ ColorDlgHookProc(
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
const char *title;
- CHOOSECOLOR *ccPtr;
+ CHOOSECOLORW *ccPtr;
(void)wParam;
if (WM_INITDIALOG == uMsg) {
@@ -917,7 +917,7 @@ ColorDlgHookProc(
* Set the title string of the dialog.
*/
- ccPtr = (CHOOSECOLOR *) lParam;
+ ccPtr = (CHOOSECOLORW *) lParam;
title = (const char *) ccPtr->lCustData;
if ((title != NULL) && (title[0] != '\0')) {