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:
parent
45b7f8192e
commit
b7ce141fd1
@ -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 )
|
||||
{
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user