Revision: 8341 https://osdn.net/projects/ttssh2/scm/svn/commits/8341 Author: zmatsuo Date: 2019-10-29 22:04:14 +0900 (Tue, 29 Oct 2019) Log Message: ----------- W版をいつも使えるようにした Modified Paths: -------------- branches/unicode_buf/teraterm/common/tmfc.cpp branches/unicode_buf/teraterm/common/tmfc.h -------------- next part -------------- Modified: branches/unicode_buf/teraterm/common/tmfc.cpp =================================================================== --- branches/unicode_buf/teraterm/common/tmfc.cpp 2019-10-28 13:42:29 UTC (rev 8340) +++ branches/unicode_buf/teraterm/common/tmfc.cpp 2019-10-29 13:04:14 UTC (rev 8341) @@ -101,12 +101,10 @@ ::SetDlgItemText(m_hWnd, id, str); } -#if defined(UNICODE) void TTCWnd::SetDlgItemTextW(int id, const wchar_t *str) { ::SetDlgItemTextW(m_hWnd, id, str); } -#endif void TTCWnd::SetDlgItemTextA(int id, const char *str) { @@ -183,12 +181,10 @@ ::SetWindowText(m_hWnd, str); } -#if defined(UNICODE) void TTCWnd::SetWindowTextW(const wchar_t *str) { ::SetWindowTextW(m_hWnd, str); } -#endif void TTCWnd::SetWindowTextA(const char *str) { Modified: branches/unicode_buf/teraterm/common/tmfc.h =================================================================== --- branches/unicode_buf/teraterm/common/tmfc.h 2019-10-28 13:42:29 UTC (rev 8340) +++ branches/unicode_buf/teraterm/common/tmfc.h 2019-10-29 13:04:14 UTC (rev 8341) @@ -49,9 +49,7 @@ LRESULT SendMessage(UINT msg, WPARAM wp, LPARAM lp); void ShowWindow(int nCmdShow); void SetWindowTextT(const TCHAR *str); -#if defined(UNICODE) void SetWindowTextW(const wchar_t *str); -#endif void SetWindowTextA(const char *str); LONG_PTR SetWindowLongPtr(int nIndex, LONG_PTR dwNewLong); LONG_PTR GetWindowLongPtr(int nIndex);