This commit is contained in:
hyatt%netscape.com 2000-05-30 08:44:40 +00:00
Родитель 815e046f0b
Коммит d1b563c376
2 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -145,7 +145,6 @@ NS_NewPolylineFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame);
#include "nsIDOMDocument.h"
#include "nsDocument.h"
#include "nsToolbarItemFrame.h"
#include "nsCheckBoxFrame.h"
#include "nsIScrollable.h"
#ifdef DEBUG
@ -5535,7 +5534,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
} // End of BOX CONSTRUCTION logic
// BUTTON CONSTRUCTION
else if (aTag == nsXULAtoms::button) {
else if (aTag == nsXULAtoms::button || aTag == nsXULAtoms::checkbox || aTag == nsXULAtoms::radio) {
processChildren = PR_TRUE;
isReplaced = PR_TRUE;
rv = NS_NewButtonBoxFrame(aPresShell, &newFrame);

Просмотреть файл

@ -145,7 +145,6 @@ NS_NewPolylineFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame);
#include "nsIDOMDocument.h"
#include "nsDocument.h"
#include "nsToolbarItemFrame.h"
#include "nsCheckBoxFrame.h"
#include "nsIScrollable.h"
#ifdef DEBUG
@ -5535,7 +5534,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
} // End of BOX CONSTRUCTION logic
// BUTTON CONSTRUCTION
else if (aTag == nsXULAtoms::button) {
else if (aTag == nsXULAtoms::button || aTag == nsXULAtoms::checkbox || aTag == nsXULAtoms::radio) {
processChildren = PR_TRUE;
isReplaced = PR_TRUE;
rv = NS_NewButtonBoxFrame(aPresShell, &newFrame);