]> git.saurik.com Git - wxWidgets.git/commit - src/osx/cocoa/window.mm
Add wxOSX_10_6_AND_LATER macro and use it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 1 Dec 2009 16:47:33 +0000 (16:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 1 Dec 2009 16:47:33 +0000 (16:47 +0000)
commit030495ecf11a16c27e711f0d812226d6b940d42b
tree3283eb48b330cd9ad60d543877fb828fadf3871e
parent0f52f6108511e4320eab81beb94c92c7657ee7bf
Add wxOSX_10_6_AND_LATER macro and use it.

Replace all occurrences of

@interface wxFoo : NSFoo
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
    <NSProtocol>
#endif

which we used for protocols new in 10.6 with just

@interface wxFoo : NSFoo wxOSX_10_6_AND_LATER(<NSProtocol>)

which looks better and simpler.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/cocoa/private.h
include/wx/osx/core/private.h
src/osx/cocoa/listbox.mm
src/osx/cocoa/menu.mm
src/osx/cocoa/window.mm