Added extra parameter for Init of WenShell

This commit is contained in:
rods%netscape.com 1998-11-02 22:20:51 +00:00
Родитель fdcb34465c
Коммит e66cef5066
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1070,7 +1070,7 @@ void nsBrowserWindow::DoFind()
nsString findHTML("resource:/res/samples/find.html");
//nsString findHTML("resource:/res/samples/find-table.html");
nsRect rect(0, 0, 510, 170);
//nsRect rect(0, 0, 480, 150);
//nsRect rect(0, 0, 480, 127);
nsString title("Find");
nsXPBaseWindow * dialog = nsnull;

Просмотреть файл

@ -234,7 +234,7 @@ nsresult nsXPBaseWindow::Init(nsIAppShell* aAppShell,
rv = mWebShell->Init(mWindow->GetNativeData(NS_NATIVE_WIDGET),
r.x, r.y, r.width, r.height,
nsScrollPreference_kNeverScroll, //nsScrollPreference_kAuto,
aAllowPlugins);
aAllowPlugins, PR_FALSE);
mWebShell->SetContainer((nsIWebShellContainer*) this);
mWebShell->SetObserver((nsIStreamObserver*)this);
mWebShell->SetPrefs(aPrefs);