diff options
author | fvogel <fvogelnew1@free.fr> | 2016-04-21 22:03:01 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-04-21 22:03:01 (GMT) |
commit | 00604f72c60af9ed0748c955048a446f7e5f7b9c (patch) | |
tree | 5deeaa223aed9f5fa42e43c83865f4287756eab3 /win | |
parent | fa289415c7aaacc173ab97665af201a54eae611a (diff) | |
download | tk-00604f72c60af9ed0748c955048a446f7e5f7b9c.zip tk-00604f72c60af9ed0748c955048a446f7e5f7b9c.tar.gz tk-00604f72c60af9ed0748c955048a446f7e5f7b9c.tar.bz2 |
Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is unsafe
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinDialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c index d7f63fb..d58bd52 100644 --- a/win/tkWinDialog.c +++ b/win/tkWinDialog.c @@ -3145,13 +3145,13 @@ HookProc( if (IsWindow(hwndCtrl)) { EnableWindow(hwndCtrl, FALSE); } - TkSendVirtualEvent(phd->parent, "TkFontchooserVisibility"); + TkSendVirtualEvent(phd->parent, "TkFontchooserVisibility", NULL); return 1; /* we handled the message */ } if (WM_DESTROY == msg) { phd->hwnd = NULL; - TkSendVirtualEvent(phd->parent, "TkFontchooserVisibility"); + TkSendVirtualEvent(phd->parent, "TkFontchooserVisibility", NULL); return 0; } @@ -3169,7 +3169,7 @@ HookProc( ApplyLogfont(phd->interp, phd->cmdObj, hdc, &lf); } if (phd && phd->parent) { - TkSendVirtualEvent(phd->parent, "TkFontchooserFontChanged"); + TkSendVirtualEvent(phd->parent, "TkFontchooserFontChanged", NULL); } return 1; } @@ -3481,7 +3481,7 @@ FontchooserShowCmd( ApplyLogfont(hdPtr->interp, hdPtr->cmdObj, hdc, &lf); } if (hdPtr->parent) { - TkSendVirtualEvent(hdPtr->parent, "TkFontchooserFontChanged"); + TkSendVirtualEvent(hdPtr->parent, "TkFontchooserFontChanged", NULL); } } Tcl_SetServiceMode(oldMode); |