From b7ce141fd1297499ce30e9a923604d7ca5ca48a3 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 16 Mar 2004 06:47:47 +0000 Subject: [PATCH] set scrollbarsize back to normal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/control.cpp | 7 ++++++- src/mac/control.cpp | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) 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 ) {