|
|
@ -320,7 +320,7 @@ void CClient_configDlg::translateTree ()
|
|
|
|
while (item)
|
|
|
|
while (item)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Set the item text
|
|
|
|
// Set the item text
|
|
|
|
uint page = Tree.GetItemData (item);
|
|
|
|
uint page = (uint)Tree.GetItemData (item);
|
|
|
|
ucstring name = NLMISC::CI18N::get (Pages[page].Name);
|
|
|
|
ucstring name = NLMISC::CI18N::get (Pages[page].Name);
|
|
|
|
if (NLMISC::CSystemUtils::supportUnicode())
|
|
|
|
if (NLMISC::CSystemUtils::supportUnicode())
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -416,7 +416,7 @@ void CClient_configDlg::OnPaint()
|
|
|
|
dc.SetBkMode (TRANSPARENT);
|
|
|
|
dc.SetBkMode (TRANSPARENT);
|
|
|
|
dc.SelectObject (&BarFont);
|
|
|
|
dc.SelectObject (&BarFont);
|
|
|
|
CRect labelRect (LARGE_LABEL_START_X, LARGE_LABEL_START_Y, LARGE_LABEL_END_X, LARGE_LABEL_END_Y);
|
|
|
|
CRect labelRect (LARGE_LABEL_START_X, LARGE_LABEL_START_Y, LARGE_LABEL_END_X, LARGE_LABEL_END_Y);
|
|
|
|
DrawTextW (&(*dc), (WCHAR*)TopLargeLabel.c_str (), TopLargeLabel.size (), &labelRect, DT_LEFT|DT_TOP);
|
|
|
|
DrawTextW (&(*dc), (WCHAR*)TopLargeLabel.c_str (), (sint)TopLargeLabel.size (), &labelRect, DT_LEFT|DT_TOP);
|
|
|
|
|
|
|
|
|
|
|
|
CDialog::OnPaint();
|
|
|
|
CDialog::OnPaint();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -471,8 +471,8 @@ BOOL CClient_configDlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
|
|
|
|
if (item)
|
|
|
|
if (item)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Get the page
|
|
|
|
// Get the page
|
|
|
|
uint pageId = Tree.GetItemData (item);
|
|
|
|
uint pageId = (uint)Tree.GetItemData (item);
|
|
|
|
setPage (pageId) ;
|
|
|
|
setPage (pageId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|