Fix for identifying when we can use platform windows.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2010-05-12 19:22:31 -07:00
parent ac81ab458c
commit 5a89dfe8f4
+9
View File
@@ -74,6 +74,15 @@ var PrimaryPlatformWindow = NULL;
return [CPSet set];
}
+ (BOOL)supportsMultipleInstances
{
#if PLATFORM(DOM)
return !CPBrowserIsEngine(CPInternetExplorerBrowserEngine);
#else
return NO;
#endif
}
+ (CPPlatformWindow)primaryPlatformWindow
{
return PrimaryPlatformWindow;