From: Julian Smart Date: Tue, 30 Mar 2004 16:26:18 +0000 (+0000) Subject: Compile fixes for 10.2 headers X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9bd2d050ef9e22a05b66dc3e51a8bf7a29b3f437?ds=inline Compile fixes for 10.2 headers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index b37e11727e..b4a516b409 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -158,7 +158,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, columnDesc.propertyDesc.propertyID = 1024; columnDesc.propertyDesc.propertyType = kDataBrowserTextType; columnDesc.propertyDesc.propertyFlags = -#ifdef MAC_OS_X_VERSION_10_3 +#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2 kDataBrowserListViewTypeSelectColumn | #endif kDataBrowserTableViewSelectionColumn ; diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 1c97b5a05a..c73013d50e 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -102,7 +102,7 @@ END_EVENT_TABLE() extern long wxMacTranslateKey(unsigned char key, unsigned char code) ; pascal OSStatus wxMacSetupControlBackground( ControlRef iControl , SInt16 iMessage , SInt16 iDepth , Boolean iIsColor ) ; -#ifndef MAC_OS_X_VERSION_10_3 +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3 enum { kEventControlVisibilityChanged = 157 };