Fix for clicking on links

git-svn-id: svn://10.0.0.236/trunk@10114 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
spider%netscape.com
1998-09-16 01:54:50 +00:00
parent e4f07b9064
commit d2925651e3

View File

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