Improve check for OS X version in Cocoa wxFileDialog implementation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 May 2012 20:29:35 +0000 (20:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 May 2012 20:29:35 +0000 (20:29 +0000)
commit632e5093093c6bcc8f791001e8d93436e712c1aa
tree6892edf229d3ab0800e3fb2afa546696d4d9bf04
parent4be7f29aa78cfbef2c3cdf9ace99b0bab93ebcf3
Improve check for OS X version in Cocoa wxFileDialog implementation.

A library using wxWidgets linked with 10.6 SDK might be loaded into an
application loading 10.5 version of AppKit in which case 10.6-specific
functions shouldn't be used. Check for the AppKit version effectively in use
instead of just checking for the system version.

Closes #13831.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/cocoa/filedlg.mm