summaryrefslogtreecommitdiffstats
path: root/win/tkWinWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-19 19:39:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-19 19:39:25 (GMT)
commit8d11cc8eacd0e8ba40c491c14435adce2a969075 (patch)
treef36728adb37c2f6308b0dd6760446eb1518fc44b /win/tkWinWindow.c
parent5b3ebe4ef5c7c792a9312e446e9d5e42832afd69 (diff)
parent4801848f58e2c408b9ec56a5d1db5625447da27c (diff)
downloadtk-8d11cc8eacd0e8ba40c491c14435adce2a969075.zip
tk-8d11cc8eacd0e8ba40c491c14435adce2a969075.tar.gz
tk-8d11cc8eacd0e8ba40c491c14435adce2a969075.tar.bz2
Merge 8.6
Diffstat (limited to 'win/tkWinWindow.c')
-rw-r--r--win/tkWinWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinWindow.c b/win/tkWinWindow.c
index 0b883b1..e9b86c3 100644
--- a/win/tkWinWindow.c
+++ b/win/tkWinWindow.c
@@ -277,7 +277,7 @@ TkpMakeWindow(
* order.
*/
- hwnd = CreateWindowEx(WS_EX_NOPARENTNOTIFY, TK_WIN_CHILD_CLASS_NAME, NULL,
+ hwnd = CreateWindowExW(WS_EX_NOPARENTNOTIFY, TK_WIN_CHILD_CLASS_NAME, NULL,
(DWORD) style, Tk_X(winPtr), Tk_Y(winPtr), Tk_Width(winPtr),
Tk_Height(winPtr), parentWin, NULL, Tk_GetHINSTANCE(), NULL);
SetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0,
@@ -926,7 +926,7 @@ TkpMakeTransparentWindowExist(
int style = WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS;
DWORD exStyle = WS_EX_TRANSPARENT | WS_EX_TOPMOST;
- hWnd = CreateWindowEx(exStyle, TK_WIN_CHILD_CLASS_NAME, NULL, style,
+ hWnd = CreateWindowExW(exStyle, TK_WIN_CHILD_CLASS_NAME, NULL, style,
Tk_X(tkwin), Tk_Y(tkwin), Tk_Width(tkwin), Tk_Height(tkwin),
hParent, NULL, Tk_GetHINSTANCE(), NULL);
winPtr->window = Tk_AttachHWND(tkwin, hWnd);