set scrollbarsize back to normal

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-03-16 06:47:47 +00:00
parent 45b7f8192e
commit b7ce141fd1
2 changed files with 12 additions and 2 deletions

View File

@ -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 )
{

View File

@ -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 )
{