mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
enabled the nsRadiobutton factory
This commit is contained in:
parent
3d8ccceae8
commit
934bf0c4ce
@ -26,9 +26,10 @@
|
||||
#include "nsWindow.h"
|
||||
#include "nsAppShell.h"
|
||||
#include "nsButton.h"
|
||||
#include "nsRadioButton.h"
|
||||
|
||||
//#include "nsScrollbar.h"
|
||||
//#include "nsCheckButton.h"
|
||||
//#include "nsRadioButton.h"
|
||||
//#include "nsTextWidget.h"
|
||||
//#include "nsTextAreaWidget.h"
|
||||
//#include "nsFileWidget.h"
|
||||
@ -169,10 +170,13 @@ nsresult nsWidgetFactory::CreateInstance(nsISupports *aOuter,
|
||||
else if (mClassID.Equals(kCChild)) {
|
||||
inst = new ChildWindow(aOuter);
|
||||
}
|
||||
#ifdef NOTNOW
|
||||
else if ( mClassID.Equals(kCCheckButtonCID)) {
|
||||
inst = new nsCheckButton(aOuter);
|
||||
else if ( mClassID.Equals(kCRadioButtonCID )) {
|
||||
inst = new nsRadioButton(aOuter);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef NOTNOW
|
||||
else if (mClassID.Equals(kCVertScrollbarCID)) {
|
||||
inst = new nsScrollbar(aOuter, PR_TRUE);
|
||||
}
|
||||
@ -189,8 +193,8 @@ nsresult nsWidgetFactory::CreateInstance(nsISupports *aOuter,
|
||||
else if (mClassID.Equals(kCTextAreaWidgetCID)) {
|
||||
inst = new nsTextAreaWidget(aOuter);
|
||||
}
|
||||
else if ( mClassID.Equals(kCRadioButtonCID)) {
|
||||
inst = new nsRadioButton(aOuter);
|
||||
else if ( mClassID.Equals(kCCheckButtonCID)) {
|
||||
inst = new nsCheckButton(aOuter);
|
||||
}
|
||||
else if (mClassID.Equals(kCListBoxCID)) {
|
||||
inst = new nsListBox(aOuter);
|
||||
|
Loading…
Reference in New Issue
Block a user