diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-29 12:23:43 +0100 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-29 12:23:43 +0100 |
| commit | 388c42454ad593f8c201a0bc7c2b1bd18f21b1fe (patch) | |
| tree | 263717f8292ad5161969cb4fd584c6564283ebcb /alf/alfbutton.cpp | |
| parent | 8ead043a524ffedc634663779a49730cc5da8d97 (diff) | |
make it build with ansi
it now actually works on Win95. WOHOO!
Diffstat (limited to 'alf/alfbutton.cpp')
| -rw-r--r-- | alf/alfbutton.cpp | 4 |
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, |
