No real changes, just slightly simplify HasAppKit_10_6() function.
Remove redundant check for version == -1. See #13831. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
da94537c64
commit
ff7dbb27d4
@ -70,10 +70,8 @@ bool HasAppKit_10_6()
|
||||
// case above.
|
||||
version = NSVersionOfRunTimeLibrary("AppKit");
|
||||
}
|
||||
if (version == -1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Notice that this still works correctly even if version is -1.
|
||||
return version >= 0x40e2400 /* version of 10.6 AppKit */;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user