]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/toolbar.cpp
correcting condition: only interfere in the non-native case
[wxWidgets.git] / src / mac / carbon / toolbar.cpp
index cbcd80f7b9f70c7feab2a3cebb36ba4f60626d89..da2442ba0ab4da5c84d77e43680d0fc9429740f1 100644 (file)
@@ -949,9 +949,9 @@ void wxToolBar::SetToolBitmapSize(const wxSize& size)
         int maxs = wxMax( size.x, size.y );
         HIToolbarDisplaySize sizeSpec ;
         if ( maxs > 32 )
-            sizeSpec = kHIToolbarDisplaySizeLarge ;
-        else if ( maxs > 24 )
             sizeSpec = kHIToolbarDisplaySizeNormal ;
+        else if ( maxs > 24 )
+            sizeSpec = kHIToolbarDisplaySizeDefault ;
         else
             sizeSpec = kHIToolbarDisplaySizeSmall ;