r=pedemont, sr=blizzard OS/2 only - get rid of OS/2 specific setting of form fonts git-svn-id: svn://10.0.0.236/trunk@119683 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
cd991b2f73
commit
9518b8280d
@ -1891,15 +1891,6 @@ SetFont(nsIPresContext* aPresContext, nsIStyleContext* aContext,
|
||||
|
||||
// XXXldb All of this platform-specific stuff should be in the
|
||||
// nsIDeviceContext implementations, not here.
|
||||
#if defined(XP_OS2)
|
||||
switch (sysID) {
|
||||
case eSystemFont_List:
|
||||
case eSystemFont_Button:
|
||||
case eSystemFont_Field:
|
||||
aFont->mFont.name = defaultVariableFont->name;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
//
|
||||
|
||||
@ -1891,15 +1891,6 @@ SetFont(nsIPresContext* aPresContext, nsIStyleContext* aContext,
|
||||
|
||||
// XXXldb All of this platform-specific stuff should be in the
|
||||
// nsIDeviceContext implementations, not here.
|
||||
#if defined(XP_OS2)
|
||||
switch (sysID) {
|
||||
case eSystemFont_List:
|
||||
case eSystemFont_Button:
|
||||
case eSystemFont_Field:
|
||||
aFont->mFont.name = defaultVariableFont->name;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user