diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-06 08:21:30 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-06 08:21:30 +0000 |
commit | 40a25b1367a35e53aa5add840feaae7fcb516b4a (patch) | |
tree | 594d963250d1c98bc01afa115ecc6847473fcb12 /vcl | |
parent | be91f4f42ff976c56bba217d522480d9b65aa62d (diff) |
INTEGRATION: CWS vcl41 (1.88.94); FILE MERGED
2005/06/21 08:18:55 ssa 1.88.94.1: #i35563# visualize dontknow state using normal buttons
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 13ff4c4a3746..bfd8c598ea47 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2,9 +2,9 @@ * * $RCSfile: toolbox.cxx,v $ * - * $Revision: 1.88 $ + * $Revision: 1.89 $ * - * last change: $Author: hr $ $Date: 2005-04-08 16:16:49 $ + * last change: $Author: obo $ $Date: 2005-07-06 09:21:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -3691,8 +3691,10 @@ void ToolBox::ImplDrawItem( USHORT nPos, BOOL bHighlight, BOOL bPaint, BOOL bLay if ( !pItem->mbEnabled || !IsEnabled() ) nImageStyle |= IMAGE_DRAW_DISABLE; - if ( pItem->meState == STATE_DONTKNOW ) - nImageStyle |= IMAGE_DRAW_DISABLE; + // #i35563# the dontknow state indicates different states at the same time + // which should not be rendered disabled but normal + //if ( pItem->meState == STATE_DONTKNOW ) + // nImageStyle |= IMAGE_DRAW_DISABLE; // draw the image nImageOffX = nOffX; |