equal
deleted
inserted
replaced
181 ListBoxControl()->ItemDrawer()->Flags() |
181 ListBoxControl()->ItemDrawer()->Flags() |
182 & CListItemDrawer::ESingleClickDisabledHighlight ) |
182 & CListItemDrawer::ESingleClickDisabledHighlight ) |
183 { |
183 { |
184 TKeyEvent event; |
184 TKeyEvent event; |
185 event.iCode = EKeyOK; |
185 event.iCode = EKeyOK; |
|
186 |
186 // restore highlight with simulated key event |
187 // restore highlight with simulated key event |
187 TKeyResponse response = |
188 TRAP_IGNORE |
188 ListBoxControl()->OfferKeyEventL( event, EEventKey ); |
189 ( |
189 |
190 TKeyResponse response = ListBoxControl()->OfferKeyEventL( event, EEventKey ); |
190 if ( response == EKeyWasConsumed ) |
191 if ( response == EKeyWasConsumed ) |
191 { |
192 { |
192 highLightEnabled = ETrue; |
193 highLightEnabled = ETrue; |
193 } |
194 } |
194 } |
195 ); |
|
196 } |
195 return highLightEnabled; |
197 return highLightEnabled; |
196 } |
198 } |
197 |
199 |
198 void CAknListBoxSettingPage::CreateIconAndAddToArrayL( |
200 void CAknListBoxSettingPage::CreateIconAndAddToArrayL( |
199 CArrayPtr<CGulIcon>*& aIconArray, |
201 CArrayPtr<CGulIcon>*& aIconArray, |