summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-06-28 07:40:55 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-06-28 07:40:55 +0000
commit7fdb266a6b3d340a8f4a89bc8f7954496e3e8858 (patch)
treead007962d161061ae3d64795fc7c0413d25edf3d /vcl/source/control
parent679dfac29139ee338fec9b951dd5984adc677196 (diff)
#100627# keep last window text color for proper HC switching
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/button.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index b84adc779b04..e477756e6234 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: button.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: pl $ $Date: 2002-05-08 16:01:30 $
+ * last change: $Author: ssa $ $Date: 2002-06-28 08:40:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -3135,6 +3135,7 @@ Image CheckBox::GetCheckImage( const AllSettings& rSettings, USHORT nFlags )
(pSVData->maCtrlData.mnCheckStyle != nStyle) ||
(pSVData->maCtrlData.mnLastCheckFColor != rStyleSettings.GetFaceColor().GetColor()) ||
(pSVData->maCtrlData.mnLastCheckWColor != rStyleSettings.GetWindowColor().GetColor()) ||
+ (pSVData->maCtrlData.mnLastCheckWTextColor != rStyleSettings.GetWindowTextColor().GetColor()) ||
(pSVData->maCtrlData.mnLastCheckLColor != rStyleSettings.GetLightColor().GetColor()) )
{
if ( pSVData->maCtrlData.mpCheckImgList )
@@ -3142,6 +3143,7 @@ Image CheckBox::GetCheckImage( const AllSettings& rSettings, USHORT nFlags )
pSVData->maCtrlData.mnLastCheckFColor = rStyleSettings.GetFaceColor().GetColor();
pSVData->maCtrlData.mnLastCheckWColor = rStyleSettings.GetWindowColor().GetColor();
+ pSVData->maCtrlData.mnLastCheckWTextColor = rStyleSettings.GetWindowTextColor().GetColor();
pSVData->maCtrlData.mnLastCheckLColor = rStyleSettings.GetLightColor().GetColor();
long aTempAry1[(6*sizeof(Color))/sizeof(long)];