diff options
Diffstat (limited to 'sfx2/source/sidebar/TabItem.cxx')
-rw-r--r-- | sfx2/source/sidebar/TabItem.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/TabItem.cxx b/sfx2/source/sidebar/TabItem.cxx index 059fabdf6d7b..8bc0fd9fdb74 100644 --- a/sfx2/source/sidebar/TabItem.cxx +++ b/sfx2/source/sidebar/TabItem.cxx @@ -55,7 +55,6 @@ TabItem::~TabItem (void) void TabItem::Paint (const Rectangle& rUpdateArea) { - OSL_TRACE("TabItem::Paint"); switch(mePaintType) { case PT_Theme: @@ -81,12 +80,12 @@ void TabItem::Paint (const Rectangle& rUpdateArea) (GetSizePixel().Height() - aIconSize.Height())/2); DrawImage( aIconLocation, - aIcon); + aIcon, + IsEnabled() ? 0 : IMAGE_DRAW_DISABLE); break; } case PT_Native: Button::Paint(rUpdateArea); - // DrawImage(maIconPosition, maIcon); break; } } |