]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fixes for 10.2 headers
authorJulian Smart <julian@anthemion.co.uk>
Tue, 30 Mar 2004 16:26:18 +0000 (16:26 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 30 Mar 2004 16:26:18 +0000 (16:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listbox.cpp
src/mac/carbon/window.cpp

index b37e11727e42c0ee3f3b89b40b424c43ba64fe26..b4a516b409caf5b90778bf39931a8609890e3932 100644 (file)
@@ -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 ;
index 1c97b5a05ac541b843d19ea83f5d62ce48a2b679..c73013d50eb49131a895378df1345527636ef593 100644 (file)
@@ -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
 };