summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-14 11:02:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-14 11:02:35 (GMT)
commit3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67 (patch)
tree9a6ebf77a206d37df3f624b70ffd9ece31e7ddc4 /win/tkWinDialog.c
parent92751c3e0866b78b2a36457363948cee95a92ce5 (diff)
downloadtk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.zip
tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.gz
tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.bz2
New TIP #580 implementation. Documentation still missing.
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 9f53396..4c56760 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -3187,13 +3187,13 @@ HookProc(
if (IsWindow(hwndCtrl)) {
EnableWindow(hwndCtrl, FALSE);
}
- TkSendVirtualEvent(phd->parent, "TkFontchooserVisibility", NULL);
+ Tk_SendVirtualEvent(phd->parent, "TkFontchooserVisibility", NULL);
return 1; /* we handled the message */
}
if (WM_DESTROY == msg) {
phd->hwnd = NULL;
- TkSendVirtualEvent(phd->parent, "TkFontchooserVisibility", NULL);
+ Tk_SendVirtualEvent(phd->parent, "TkFontchooserVisibility", NULL);
return 0;
}
@@ -3211,7 +3211,7 @@ HookProc(
ApplyLogfont(phd->interp, phd->cmdObj, hdc, &lf);
}
if (phd && phd->parent) {
- TkSendVirtualEvent(phd->parent, "TkFontchooserFontChanged", NULL);
+ Tk_SendVirtualEvent(phd->parent, "TkFontchooserFontChanged", NULL);
}
return 1;
}
@@ -3525,7 +3525,7 @@ FontchooserShowCmd(
ApplyLogfont(hdPtr->interp, hdPtr->cmdObj, hdc, &lf);
}
if (hdPtr->parent) {
- TkSendVirtualEvent(hdPtr->parent, "TkFontchooserFontChanged", NULL);
+ Tk_SendVirtualEvent(hdPtr->parent, "TkFontchooserFontChanged", NULL);
}
}
Tcl_SetServiceMode(oldMode);