diff -r 4eb1ae11334f -r e6a39382bb9c textinput/peninputgenerichwr/src/peninputgenerichwrwindow.cpp --- a/textinput/peninputgenerichwr/src/peninputgenerichwrwindow.cpp Wed Apr 14 16:18:34 2010 +0300 +++ b/textinput/peninputgenerichwr/src/peninputgenerichwrwindow.cpp Tue Apr 27 16:59:43 2010 +0300 @@ -768,7 +768,7 @@ id.Set(KWriteBoxFrameBackColorMajor, KWriteBoxFrameBackColorGrp); - TInt error = AknsUtils::GetCachedColor(AknsUtils::SkinInstance(), + TInt error = AknsUtils::GetCachedColor(UiLayout()->SkinInstance(), frameColor, id, KWriteBoxFrameBackColorIdx);