Spanked to get most of the menus working again

git-svn-id: svn://10.0.0.236/trunk@6030 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-07-21 00:48:35 +00:00
parent a5f64bdca9
commit c3fd39a44f
11 changed files with 803 additions and 117 deletions

View File

@@ -31,6 +31,18 @@ nsNativeViewerApp::~nsNativeViewerApp()
{
}
int
nsNativeViewerApp::Run()
{
mAppShell->Run();
return 0;
}
void
nsNativeViewerApp::CreateRobot(nsBrowserWindow* aWindow)
{
}
//----------------------------------------------------------------------
nsNativeBrowserWindow::nsNativeBrowserWindow()
@@ -67,7 +79,7 @@ nsNativeBrowserWindow::DispatchMenuItem(PRInt32 aID)
//----------------------------------------------------------------------
void main(int argc, char **argv)
int main(int argc, char **argv)
{
// Hack to get il_ss set so it doesn't fail in xpcompat.c
@@ -76,6 +88,7 @@ void main(int argc, char **argv)
gTheApp = new nsNativeViewerApp();
gTheApp->Initialize(argc, argv);
gTheApp->OpenWindow();
gTheApp->Run();
return 0;
}