uifw/EikStd/dlgsrc/EIKDIALG.CPP
branchRCL_3
changeset 72 a5e7a4f63858
parent 59 978afdc0236f
equal deleted inserted replaced
64:85902f042028 72:a5e7a4f63858
  2075         if (effectTriggered)
  2075         if (effectTriggered)
  2076             {
  2076             {
  2077             GfxTransEffect::NotifyExternalState(ECaptureComponentsAbort, (const TDesC8*)this);
  2077             GfxTransEffect::NotifyExternalState(ECaptureComponentsAbort, (const TDesC8*)this);
  2078             GfxTransEffect::Abort(this);
  2078             GfxTransEffect::Abort(this);
  2079             }
  2079             }
  2080                     
  2080             
       
  2081         // Draw again in cast any content change in OkToExitL
       
  2082         DrawDeferred();
       
  2083         
  2081         _AKNTRACE("CEikDialog::TryExitL return with OkToExitL false");
  2084         _AKNTRACE("CEikDialog::TryExitL return with OkToExitL false");
  2082         return;
  2085         return;
  2083         }
  2086         }
  2084         
  2087         
  2085     if (aButtonId != EEikBidCancel)
  2088     if (aButtonId != EEikBidCancel)
  2460     TBool isForm = ( iPageSelector && iPageSelector->IsForm() );
  2463     TBool isForm = ( iPageSelector && iPageSelector->IsForm() );
  2461     
  2464     
  2462     if ( !isForm )
  2465     if ( !isForm )
  2463         {
  2466         {
  2464         SizeChanged();
  2467         SizeChanged();
  2465 		}
  2468     
  2466 	
  2469         TInt lastPage =  ( iPageSelector->PageContainer()->NumPages() - 1 );
  2467     if( iPageSelector )
  2470         TInt pageIndex = 0;
  2468     	{		
  2471         CEikDialogPage* page;
  2469 		TInt lastPage =  ( iPageSelector->PageContainer()->NumPages() - 1 );
  2472     
  2470 		TInt pageIndex = 0;
  2473         while ( pageIndex++ <= lastPage )
  2471 		CEikDialogPage* page( NULL );
  2474             {
  2472 	
  2475             page = iPageSelector->PageContainer()->Page( pageIndex );
  2473 		while ( pageIndex++ <= lastPage )
  2476             page->HandleResourceChange( KEikDynamicLayoutVariantSwitch );
  2474 			{
  2477             }
  2475 			page = iPageSelector->PageContainer()->Page( pageIndex );
       
  2476 			page->HandleResourceChange( KEikDynamicLayoutVariantSwitch );
       
  2477 			}   
       
  2478         }
  2478         }
  2479 
  2479 
  2480    	if (iExtension)
  2480    	if (iExtension)
  2481    		iExtension->iFlags.Clear(CEikDialogExtension::ELayoutChangeWhileInvisible);
  2481    		iExtension->iFlags.Clear(CEikDialogExtension::ELayoutChangeWhileInvisible);
  2482    	_AKNTRACE_FUNC_EXIT;
  2482    	_AKNTRACE_FUNC_EXIT;