* XPlatUI.cs: Take new Platform.MacOSX into account.
[Fixes bug #447663]
svn path=/branches/mono-2-2/mcs/; revision=119638
+2008-11-21 Jonathan Pobst <monkey@jpobst.com>
+
+ * XPlatUI.cs: Take new Platform.MacOSX into account.
+ [Fixes bug #447663]
+
2008-11-20 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
public static bool RunningOnUnix {
get {
#if NET_2_0
- return (Environment.OSVersion.Platform == PlatformID.Unix);
+ return (Environment.OSVersion.Platform == PlatformID.Unix || Environment.OSVersion.Platform == PlatformID.MacOSX);
#else
int platform = (int) Environment.OSVersion.Platform;
return (platform == 128);