зеркало из https://github.com/mozilla/gecko-dev.git
fix a cast with the tree view because nsITreeView doesn't exist anymore.
This commit is contained in:
Родитель
e65fe08c19
Коммит
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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче