Added extra parameter for Init of WenShell

This commit is contained in:
rods%netscape.com 1998-11-02 22:20:51 +00:00
parent fdcb34465c
commit e66cef5066
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);