[Ttssh2-commit] [8503] TTXProxyプラグインのダイアログを多言語化

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2020年 1月 27日 (月) 00:13:29 JST


Revision: 8503
          https://osdn.net/projects/ttssh2/scm/svn/commits/8503
Author:   zmatsuo
Date:     2020-01-27 00:13:29 +0900 (Mon, 27 Jan 2020)
Log Message:
-----------
TTXProxyプラグインのダイアログを多言語化

- うまく動作していなかった
- 不正なHWNDに対して文字を設定しようとして失敗していた

Modified Paths:
--------------
    trunk/TTProxy/ProxyWSockHook.h

-------------- next part --------------
Modified: trunk/TTProxy/ProxyWSockHook.h
===================================================================
--- trunk/TTProxy/ProxyWSockHook.h	2020-01-24 05:53:04 UTC (rev 8502)
+++ trunk/TTProxy/ProxyWSockHook.h	2020-01-26 15:13:29 UTC (rev 8503)
@@ -772,7 +772,7 @@
 
             Dialog::onInitDialog();
 
-            HWND hWnd = (HWND)this;
+            HWND hWnd = HWND(*this);
 			SetI18nDlgStrs("TTProxy", hWnd, text_info, _countof(text_info), UILanguageFile);
 
             host = GetDlgItem(IDC_HOSTNAME);
@@ -898,7 +898,7 @@
 //              { IDOK, "BTN_OK" },
 //              { IDCANCEL, "BTN_CANCEL" },
             };
-			HWND hWnd = HWND(this);		// \x82\xA4\x82܂\xAD\x93\xAE\x82\xA9\x82Ȃ\xA2?
+			HWND hWnd = HWND(*this);
 			SetI18nDlgStrs("TTProxy", hWnd, text_info, _countof(text_info), UILanguageFile);
 
             url  <<= GetDlgItem(IDC_URL);


Ttssh2-commit メーリングリストの案内
Back to archive index