Fixed: client_config compilation

This commit is contained in:
kervala 2010-06-16 23:08:58 +02:00
parent a5a3929833
commit 7a00fb5082

View file

@ -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));