summaryrefslogtreecommitdiff
path: root/alf/alfbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfbutton.cpp')
-rw-r--r--alf/alfbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alf/alfbutton.cpp b/alf/alfbutton.cpp
index 0723563..c46693e 100644
--- a/alf/alfbutton.cpp
+++ b/alf/alfbutton.cpp
@@ -71,10 +71,10 @@ ALF__ButtonSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT
}
HWND
-ALF_AddButton(HWND win, WORD id, UINT x, UINT y, const WCHAR *text)
+ALF_AddButton(HWND win, WORD id, UINT x, UINT y, const TCHAR *text)
{
HWND hwndButton = CreateWindowEx(0,
- L"BUTTON",
+ TEXT("BUTTON"),
text,
WS_CHILD | WS_TABSTOP | WS_VISIBLE | BS_PUSHBUTTON | BS_MULTILINE,
0, 0, 100, 100,