--- a/textinput/peninputgenericitut/src/peninputitutwesternuistatespelling.cpp Wed Apr 14 16:18:34 2010 +0300
+++ b/textinput/peninputgenericitut/src/peninputitutwesternuistatespelling.cpp Tue Apr 27 16:59:43 2010 +0300
@@ -140,6 +140,22 @@
}
//
+ if ( iOwner->DataMgr()->IsChineseSpellMode())
+ {
+ CAknFepCtrlRawKeyButton* leftbtn =
+ static_cast<CAknFepCtrlRawKeyButton *>( iOwner->LayoutContext()->Control( ECtrlIdArrowLeft ));
+ if( leftbtn )
+ {
+ leftbtn->Hide( ETrue );
+ }
+
+ CAknFepCtrlRawKeyButton* rightbtn =
+ static_cast<CAknFepCtrlRawKeyButton *>( iOwner->LayoutContext()->Control( ECtrlIdArrowRight ));
+ if( rightbtn )
+ {
+ rightbtn->Hide( ETrue );
+ }
+ }
TAknTextLineLayout btntextformat = TItutDataConverter::AnyToTextLine(
iOwner->DataMgr()->RequestData(EBtnTextLine));
@@ -164,9 +180,7 @@
iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( EFalse );
CAknFepCtrlLabel* indilabel = static_cast<CAknFepCtrlLabel*>
(iOwner->LayoutContext()->Control(ECtrlIdSpellIndicator));
- // Modify begin
if ( indilabel && iOwner->DataMgr()->IsChineseSpellMode())
- // Modify end
{
indilabel->Hide( EFalse );
}