fix a cast with the tree view because nsITreeView doesn't exist anymore.

This commit is contained in:
pinkerton%netscape.com 1998-12-11 16:35:33 +00:00
parent e65fe08c19
commit aa2fea9544

View File

@ -243,7 +243,7 @@ nsresult nsWidgetFactory::CreateInstance(nsISupports *aOuter,
// inst = (nsISupports*)new nsPopUpMenu();
}/* */
else if (mClassID.Equals(kCTreeView)) {
inst = (nsISupports*)(nsITreeView *) new nsTreeView();
inst = (nsISupports*)(nsWindow*) new nsTreeView();
}
if (inst == NULL) {