修复进度条标题语言转换BUG
This commit is contained in:
parent
04389c65bb
commit
4daf686fd8
|
@ -20,9 +20,8 @@ dlg_indicator::dlg_indicator(HWND parent) : dlg_base(parent, IDD_INDICATOR)
|
||||||
|
|
||||||
if (!dlg_base::is_language_pack_default_code_page())
|
if (!dlg_base::is_language_pack_default_code_page())
|
||||||
{
|
{
|
||||||
std::wstring text(dlg_base::get_wnd_text(hwnd()));
|
std::wstring text(dlg_base::language_from_hz936(L"\u6B63\u5728\u626B\u63CF\u2026\u2026"));
|
||||||
|
|
||||||
text = dlg_base::language_from_hz936(text.c_str());
|
|
||||||
SetWindowTextW(hwnd(), text.c_str());
|
SetWindowTextW(hwnd(), text.c_str());
|
||||||
|
|
||||||
text = dlg_base::language_from_hz936(L"\u7EB8\u5F20");
|
text = dlg_base::language_from_hz936(L"\u7EB8\u5F20");
|
||||||
|
|
Loading…
Reference in New Issue