diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-02 13:28:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-02 13:28:19 (GMT) |
commit | d8bc430e7ea96f8e935ddcc710b9891d10eaf234 (patch) | |
tree | 920938575d791db0c845215e46b9fcfb562a811c /win | |
parent | 861f2926fd2d6d1f1726e0ec37c1bd4e55c7a395 (diff) | |
parent | e91f3d0c6bcf6195288c6681ec3dccbcbb6e499c (diff) | |
download | tk-d8bc430e7ea96f8e935ddcc710b9891d10eaf234.zip tk-d8bc430e7ea96f8e935ddcc710b9891d10eaf234.tar.gz tk-d8bc430e7ea96f8e935ddcc710b9891d10eaf234.tar.bz2 |
Implement TIP #580: Export Tk_GetDoublePixelsFromObj and 5 more
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinDialog.c | 8 | ||||
-rw-r--r-- | win/tkWinWm.c | 8 |
2 files changed, 8 insertions, 8 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); diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 33d5403..fa04c3b 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -3408,7 +3408,7 @@ WmColormapwindowsCmd( break; } Tcl_ListObjAppendElement(NULL, resultObj, - TkNewWindowObj((Tk_Window) wmPtr->cmapList[i])); + Tk_NewWindowObj((Tk_Window) wmPtr->cmapList[i])); } Tcl_SetObjResult(interp, resultObj); return TCL_OK; @@ -4569,7 +4569,7 @@ WmIconwindowCmd( } if (objc == 3) { if (wmPtr->icon != NULL) { - Tcl_SetObjResult(interp, TkNewWindowObj(wmPtr->icon)); + Tcl_SetObjResult(interp, Tk_NewWindowObj(wmPtr->icon)); } return TCL_OK; } @@ -5222,7 +5222,7 @@ WmStackorderCmd( resultObj = Tcl_NewObj(); for (windowPtr = windows; *windowPtr ; windowPtr++) { Tcl_ListObjAppendElement(NULL, resultObj, - TkNewWindowObj((Tk_Window) *windowPtr)); + Tk_NewWindowObj((Tk_Window) *windowPtr)); } Tcl_SetObjResult(interp, resultObj); ckfree(windows); @@ -5558,7 +5558,7 @@ WmTransientCmd( } if (objc == 3) { if (masterPtr != NULL) { - Tcl_SetObjResult(interp, TkNewWindowObj((Tk_Window) masterPtr)); + Tcl_SetObjResult(interp, Tk_NewWindowObj((Tk_Window) masterPtr)); } return TCL_OK; } |