make dialogs localizable

adjust control to fit longer text
This commit is contained in:
Chris Danford
2006-02-07 04:38:51 +00:00
parent f904f05fcc
commit b46e53e27b
6 changed files with 87 additions and 87 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ void DialogUtil::LocalizeDialogAndContents( HWND hdlg )
{
::GetWindowText( hdlg, szTemp, ARRAYSIZE(szTemp) );
RString s = szTemp;
sGroup = "Tools-"+s;
sGroup = "Dialog-"+s;
s = THEME->GetString( sGroup, s );
::SetWindowText( hdlg, ConvertUTF8ToACP(s).c_str() );
}