Fixed: client_config compilation
This commit is contained in:
parent
fcc968511f
commit
5103161711
1 changed files with 2 additions and 2 deletions
|
@ -300,7 +300,7 @@ void CClient_configDlg::changeLanguage (const char *language)
|
||||||
CMenu* pSysMenu = GetSystemMenu(FALSE);
|
CMenu* pSysMenu = GetSystemMenu(FALSE);
|
||||||
if (pSysMenu)
|
if (pSysMenu)
|
||||||
{
|
{
|
||||||
if (CSystemUtils::supportUnicode())
|
if (NLMISC::CSystemUtils::supportUnicode())
|
||||||
{
|
{
|
||||||
nlverify (::ModifyMenuW(*pSysMenu, IDM_ABOUTBOX, MF_BYCOMMAND|MF_STRING, IDM_ABOUTBOX, (WCHAR*)NLMISC::CI18N::get ("uiConfigMenuAbout").c_str()));
|
nlverify (::ModifyMenuW(*pSysMenu, IDM_ABOUTBOX, MF_BYCOMMAND|MF_STRING, IDM_ABOUTBOX, (WCHAR*)NLMISC::CI18N::get ("uiConfigMenuAbout").c_str()));
|
||||||
}
|
}
|
||||||
|
@ -322,7 +322,7 @@ void CClient_configDlg::translateTree ()
|
||||||
// Set the item text
|
// Set the item text
|
||||||
uint page = Tree.GetItemData (item);
|
uint page = Tree.GetItemData (item);
|
||||||
ucstring name = NLMISC::CI18N::get (Pages[page].Name);
|
ucstring name = NLMISC::CI18N::get (Pages[page].Name);
|
||||||
if (CSystemUtils::supportUnicode())
|
if (NLMISC::CSystemUtils::supportUnicode())
|
||||||
{
|
{
|
||||||
TVITEMEXW itemDesc;
|
TVITEMEXW itemDesc;
|
||||||
memset (&itemDesc, 0, sizeof(TVITEMEXW));
|
memset (&itemDesc, 0, sizeof(TVITEMEXW));
|
||||||
|
|
Loading…
Reference in a new issue