]> git.saurik.com Git - wxWidgets.git/commitdiff
bracing 10.7+ constant
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Sep 2012 14:09:30 +0000 (14:09 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Sep 2012 14:09:30 +0000 (14:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/core/bitmap.cpp

index 387f5c6cf2f8ce03ebf12bab57af297be495efd0..2cd8885f517ae74bc96143bfea956627a8bdb900 100644 (file)
@@ -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;