X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69d90995bb90845723261e29b3895f3004887881..9556c0f1b3dec367bf2bdc3eef7b1d54668adcf7:/src/mac/carbon/control.cpp?ds=sidebyside 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 ) {