From: Stefan Csomor Date: Wed, 19 Sep 2012 14:09:30 +0000 (+0000) Subject: bracing 10.7+ constant X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/37d8aa5b686ec3b48aa9a6c480dd06738c5a9e64 bracing 10.7+ constant git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/core/bitmap.cpp b/src/osx/core/bitmap.cpp index 387f5c6cf2..2cd8885f51 100644 --- a/src/osx/core/bitmap.cpp +++ b/src/osx/core/bitmap.cpp @@ -460,10 +460,11 @@ IconRef wxBitmapRefData::GetIconRef() switch (sz) { +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 case 1024: dataType = kIconServices1024PixelDataARGB; break; - +#endif case 512: dataType = kIconServices512PixelDataARGB; break;