mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
fix a cast with the tree view because nsITreeView doesn't exist anymore.
This commit is contained in:
parent
e65fe08c19
commit
aa2fea9544
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user