uifw/EikStd/dlgsrc/EIKDIALG.CPP
branchRCL_3
changeset 72 a5e7a4f63858
parent 59 978afdc0236f
--- a/uifw/EikStd/dlgsrc/EIKDIALG.CPP	Wed Sep 15 12:29:17 2010 +0300
+++ b/uifw/EikStd/dlgsrc/EIKDIALG.CPP	Wed Oct 13 14:50:15 2010 +0300
@@ -2077,7 +2077,10 @@
             GfxTransEffect::NotifyExternalState(ECaptureComponentsAbort, (const TDesC8*)this);
             GfxTransEffect::Abort(this);
             }
-                    
+            
+        // Draw again in cast any content change in OkToExitL
+        DrawDeferred();
+        
         _AKNTRACE("CEikDialog::TryExitL return with OkToExitL false");
         return;
         }
@@ -2462,19 +2465,16 @@
     if ( !isForm )
         {
         SizeChanged();
-		}
-	
-    if( iPageSelector )
-    	{		
-		TInt lastPage =  ( iPageSelector->PageContainer()->NumPages() - 1 );
-		TInt pageIndex = 0;
-		CEikDialogPage* page( NULL );
-	
-		while ( pageIndex++ <= lastPage )
-			{
-			page = iPageSelector->PageContainer()->Page( pageIndex );
-			page->HandleResourceChange( KEikDynamicLayoutVariantSwitch );
-			}   
+    
+        TInt lastPage =  ( iPageSelector->PageContainer()->NumPages() - 1 );
+        TInt pageIndex = 0;
+        CEikDialogPage* page;
+    
+        while ( pageIndex++ <= lastPage )
+            {
+            page = iPageSelector->PageContainer()->Page( pageIndex );
+            page->HandleResourceChange( KEikDynamicLayoutVariantSwitch );
+            }
         }
 
    	if (iExtension)