--- a/uifw/AvKon/src/AknCheckBoxSettingPage.cpp Thu Aug 19 10:11:06 2010 +0300
+++ b/uifw/AvKon/src/AknCheckBoxSettingPage.cpp Tue Aug 31 15:28:30 2010 +0300
@@ -146,21 +146,15 @@
CreateCheckBoxBitmapsL();
- // Only a reference to the CBase object; not owned
- CAknSetStyleListBox* listBox = ListBoxControl();
-
- //
- // SelectItemL make the view item drawn by default, SetDisableRedraw can remove flick
- //
- TBool bRedrawDisabled = listBox->View()->RedrawDisabled();
- listBox->View()->SetDisableRedraw( ETrue );
GenerateInternalArrayAndGiveToListBoxL();
- listBox->View()->SetDisableRedraw( bRedrawDisabled );
// This updates the CBA
CheckAndSetDataValidity();
UpdateCbaL();
+ // Only a reference to the CBase object; not owned
+ CAknSetStyleListBox* listBox = ListBoxControl();
+
listBox->SetListBoxObserver(this);
// Set the scroller indication to appear when needed
@@ -210,7 +204,7 @@
if (newResourceId)
{
bgc->SetCommandL(3,newResourceId);
- cba->DrawDeferred();
+ cba->DrawNow();
}
}
@@ -368,13 +362,6 @@
switch (aCommandId)
{
case EAknSoftkeySelect:
- {
- if ( EnableSingleClickHighlight( aCommandId ) )
- {
- break;
- }
- // no single click mode was enabled, fall through
- }
case EAknSoftkeyMark:
case EAknSoftkeyUnmark:
if ( AknLayoutUtils::PenEnabled() )