summaryrefslogtreecommitdiff
path: root/vcl/source/treelist/headbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/treelist/headbar.cxx')
-rw-r--r--vcl/source/treelist/headbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/treelist/headbar.cxx b/vcl/source/treelist/headbar.cxx
index 07f32358af54..0523ffa21699 100644
--- a/vcl/source/treelist/headbar.cxx
+++ b/vcl/source/treelist/headbar.cxx
@@ -935,7 +935,7 @@ void HeaderBar::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
pDev->SetTextColor( GetTextColor() );
pDev->SetTextFillColor();
- if ( !(nFlags & DrawFlags::NoBackground) )
+ // draw background
{
pDev->DrawWallpaper( aRect, GetBackground() );
if ( mnBorderOff1 || mnBorderOff2 )