diff options
-rw-r--r-- | vcl/source/window/tabpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx index c9bff3225700..ad3c12e0578d 100644 --- a/vcl/source/window/tabpage.cxx +++ b/vcl/source/window/tabpage.cxx @@ -61,7 +61,7 @@ void TabPage::ImplInitSettings() SetParentClipMode(); SetPaintTransparent( false ); - if ( IsControlBackground() ) + if (IsControlBackground() || !pParent) SetBackground( GetControlBackground() ); else SetBackground( pParent->GetBackground() ); |