diff -r a47de9135b21 -r 6ceef9a83b1a textinput/peninputgenericitut/src/peninputitutwesternuistatenonpredict.cpp --- a/textinput/peninputgenericitut/src/peninputitutwesternuistatenonpredict.cpp Fri Mar 12 15:44:07 2010 +0200 +++ b/textinput/peninputgenericitut/src/peninputitutwesternuistatenonpredict.cpp Mon Mar 15 12:42:02 2010 +0200 @@ -30,6 +30,7 @@ #include "peninputgenericitutdatamgr.h" #include "peninputgenericitutlayoutcontext.h" #include "peninputgenericitutwindowmanager.h" +#include CWesternItutUiStateNonPredict* CWesternItutUiStateNonPredict::NewL(CGenericItutUiMgrBase* aOwner) { @@ -111,10 +112,18 @@ } else { - //iOwner->LayoutContext()->Control(ECtrlIdSwitch)->Hide(EFalse); iOwner->LayoutContext()->Control(ECtrlIdOptions)->Hide(EFalse); iOwner->LayoutContext()->Control(ECtrlIdClose)->Hide(EFalse); - //iOwner->LayoutContext()->Control(ECtrlIdIndicator)->Hide(EFalse); + if ( iOwner->LayoutContext()->Control(ECtrlIdSwitch) != NULL ) + { + iOwner->LayoutContext()->Control(ECtrlIdSwitch)->Hide(ETrue); + } + if ( iOwner->LayoutContext()->Control(ECtrlIdIndicator) != NULL ) + { + iOwner->LayoutContext()->Control(ECtrlIdIndicator)->Hide(ETrue); + } + + iIcf->MsgBubbleCtrl()->Hide( EFalse ); iOwner->LayoutContext()->ShowArrowBtn(EBtnArrowLeft | EBtnArrowRight); if(iOwner->LayoutContext()->IsSecretEdtior())