From d2925651e3db02d66d1bcc7bb891e7020fa39935 Mon Sep 17 00:00:00 2001 From: "spider%netscape.com" Date: Wed, 16 Sep 1998 01:54:50 +0000 Subject: [PATCH] Fix for clicking on links git-svn-id: svn://10.0.0.236/trunk@10114 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfc/shell/src/windows/winmain.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/xpfc/shell/src/windows/winmain.cpp b/mozilla/xpfc/shell/src/windows/winmain.cpp index 0dda6526f4f..b469a333505 100644 --- a/mozilla/xpfc/shell/src/windows/winmain.cpp +++ b/mozilla/xpfc/shell/src/windows/winmain.cpp @@ -27,6 +27,7 @@ #include "nsxpfcCIID.h" #include "nsIAppShell.h" #include "nspr.h" +#include "plevent.h" #define XPFC_DLL "xpfc10.dll" @@ -73,6 +74,9 @@ int PASCAL WinMain(HANDLE instance, HANDLE prevInstance, LPSTR cmdParam, int nCm PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0); PR_STDIO_INIT(); + PL_InitializeEventsLib(""); + + // Let get a ShellInstance for this Application instance nsRepository::RegisterFactory(kCShellInstanceCID, XPFC_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kCMenuBarCID, XPFC_DLL, PR_FALSE, PR_FALSE);