r=mkaply, a=blizzard

Don't hardcode fonts for dialogs - breaks DBCS


git-svn-id: svn://10.0.0.236/trunk@85003 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com
2001-01-17 02:22:35 +00:00
parent 6e965fd48c
commit 00a2d2fcbc
5 changed files with 0 additions and 12 deletions

View File

@@ -83,10 +83,6 @@ void nsWidgetModuleData::Init( nsIAppShell *aPrimaevalAppShell)
// Both combobox and (atm) nsBrowserWindow depend on this.
lHtEntryfield = 26;
rc = WinLoadString( 0/*hab*/, hModResources, ID_STR_FONT, 256, buffer);
if( !rc) strcpy( buffer, "8.Helv");
pszFontNameSize = strdup( buffer);
hptrSelect = hptrFrameIcon = 0;
idSelect = 0;
@@ -133,7 +129,6 @@ nsWidgetModuleData::~nsWidgetModuleData()
WinDestroyPointer( hptrFrameIcon);
if( hModResources)
DosFreeModule( hModResources);
free( pszFontNameSize);
#if 0
delete mWindows;
#endif