--- a/uifw/AvKon/src/AknAdaptiveSearchGrid.cpp Tue May 11 16:27:42 2010 +0300
+++ b/uifw/AvKon/src/AknAdaptiveSearchGrid.cpp Tue May 25 12:58:19 2010 +0300
@@ -534,9 +534,20 @@
const TRect& aRect ) const
{
MAknsSkinInstance* skin = AknsUtils::SkinInstance();
- MAknsControlContext* cc = AknsDrawUtils::ControlContext( this );
- aGc.SetBrushColor( KRgbWhite );
- aGc.SetPenColor( KRgbBlack );
+
+ TRgb color;
+ TInt error = AknsUtils::GetCachedColor(skin, color, KAknsIIDFsTextColors,
+ EAknsCIFsTextColorsCG3 );
+ if( error == KErrNone )
+ {
+ aGc.SetBrushColor( color );
+ aGc.SetPenColor( color );
+ }
+ else
+ {
+ aGc.SetBrushColor( KRgbWhite );
+ aGc.SetPenColor( KRgbBlack );
+ }
aGc.SetBrushStyle( CGraphicsContext::ESolidBrush );
aGc.DrawRect( aRect );
}