commenting out widgets from the build they have been moved to the viewer app
r kmcclusk, b =17027 git-svn-id: svn://10.0.0.236/trunk@59779 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -220,6 +220,7 @@ nsresult nsWidgetFactory::CreateInstance( nsISupports* aOuter,
|
||||
///////////////////////////////////////
|
||||
// These are needed for Viewer only
|
||||
///////////////////////////////////////
|
||||
#if 0
|
||||
else if (mClassID.Equals(kCButton)) {
|
||||
inst = (nsISupports*)(nsBaseWidget*)(nsWindow*)new nsButton();
|
||||
}
|
||||
@@ -232,7 +233,7 @@ nsresult nsWidgetFactory::CreateInstance( nsISupports* aOuter,
|
||||
else if (mClassID.Equals(kCCheckButton)) {
|
||||
inst = (nsISupports*)(nsBaseWidget*)(nsWindow*)new nsCheckButton();
|
||||
}
|
||||
|
||||
#endif
|
||||
if (inst == NULL) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user