diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index f44ff6bc7f..473bdec9fd 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -771,7 +771,12 @@ void wxControl::DoSetWindowVariant( wxWindowVariant variant ) // we have a few calculations that we must fix if ( variant == wxWINDOW_VARIANT_DEFAULT ) - variant = wxWINDOW_VARIANT_SMALL ; + { + if ( IsKindOf( CLASSINFO( wxScrollBar ) ) ) + variant = wxWINDOW_VARIANT_NORMAL ; + else + variant = wxWINDOW_VARIANT_SMALL ; + } switch ( variant ) { diff --git a/src/mac/control.cpp b/src/mac/control.cpp index f44ff6bc7f..473bdec9fd 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -771,7 +771,12 @@ void wxControl::DoSetWindowVariant( wxWindowVariant variant ) // we have a few calculations that we must fix if ( variant == wxWINDOW_VARIANT_DEFAULT ) - variant = wxWINDOW_VARIANT_SMALL ; + { + if ( IsKindOf( CLASSINFO( wxScrollBar ) ) ) + variant = wxWINDOW_VARIANT_NORMAL ; + else + variant = wxWINDOW_VARIANT_SMALL ; + } switch ( variant ) {