diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-11 11:39:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-11 11:39:44 (GMT) |
commit | 168bc3c1f9f4f57f0eb8be8bfa2db0fae62d55d6 (patch) | |
tree | 8146fd7de9ba4a92a5744842bf48b8e61135dfd0 /win/tkWinButton.c | |
parent | bd2618f68e0532440f3e927439e16c62f3a54d09 (diff) | |
download | tk-168bc3c1f9f4f57f0eb8be8bfa2db0fae62d55d6.zip tk-168bc3c1f9f4f57f0eb8be8bfa2db0fae62d55d6.tar.gz tk-168bc3c1f9f4f57f0eb8be8bfa2db0fae62d55d6.tar.bz2 |
More TCHAR -> WCHAR conversions
Diffstat (limited to 'win/tkWinButton.c')
-rw-r--r-- | win/tkWinButton.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c index 0b71327..a0d1ebd 100644 --- a/win/tkWinButton.c +++ b/win/tkWinButton.c @@ -131,7 +131,7 @@ InitBoxes(void) ThreadSpecificData *tsdPtr = (ThreadSpecificData *) Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); - hrsrc = FindResource(module, TEXT("buttons"), RT_BITMAP); + hrsrc = FindResource(module, L"buttons", RT_BITMAP); if (hrsrc == NULL) { Tcl_Panic("FindResource() failed for buttons bitmap resource, " "resources in tk_base.rc must be linked into Tk dll or static executable"); @@ -242,15 +242,15 @@ CreateProc( { Window window; HWND parent; - const TCHAR *class; + const WCHAR *class; WinButton *butPtr = (WinButton *)instanceData; parent = Tk_GetHWND(parentWin); if (butPtr->info.type == TYPE_LABEL) { - class = TEXT("STATIC"); + class = L"STATIC"; butPtr->style = SS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS; } else { - class = TEXT("BUTTON"); + class = L"BUTTON"; butPtr->style = BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS; } butPtr->hwnd = CreateWindow(class, NULL, butPtr->style, |