uifw/EikStd/dlgsrc/EIKDIALG.CPP
branchRCL_3
changeset 18 fcdfafb36fe7
parent 17 a1caeb42b3a3
child 19 aecbbf00d063
equal deleted inserted replaced
17:a1caeb42b3a3 18:fcdfafb36fe7
  2463     TBool isForm = ( iPageSelector && iPageSelector->IsForm() );
  2463     TBool isForm = ( iPageSelector && iPageSelector->IsForm() );
  2464     
  2464     
  2465     if ( !isForm )
  2465     if ( !isForm )
  2466         {
  2466         {
  2467         SizeChanged();
  2467         SizeChanged();
  2468     
  2468 		}
  2469         TInt lastPage =  ( iPageSelector->PageContainer()->NumPages() - 1 );
  2469 	
  2470         TInt pageIndex = 0;
  2470     if( iPageSelector )
  2471         CEikDialogPage* page;
  2471     	{		
  2472     
  2472 		TInt lastPage =  ( iPageSelector->PageContainer()->NumPages() - 1 );
  2473         while ( pageIndex++ <= lastPage )
  2473 		TInt pageIndex = 0;
  2474             {
  2474 		CEikDialogPage* page( NULL );
  2475             page = iPageSelector->PageContainer()->Page( pageIndex );
  2475 	
  2476             page->HandleResourceChange( KEikDynamicLayoutVariantSwitch );
  2476 		while ( pageIndex++ <= lastPage )
  2477             }
  2477 			{
       
  2478 			page = iPageSelector->PageContainer()->Page( pageIndex );
       
  2479 			page->HandleResourceChange( KEikDynamicLayoutVariantSwitch );
       
  2480 			}   
  2478         }
  2481         }
  2479 
  2482 
  2480    	if (iExtension)
  2483    	if (iExtension)
  2481    		iExtension->iFlags.Clear(CEikDialogExtension::ELayoutChangeWhileInvisible);
  2484    		iExtension->iFlags.Clear(CEikDialogExtension::ELayoutChangeWhileInvisible);
  2482    	_AKNTRACE_FUNC_EXIT;
  2485    	_AKNTRACE_FUNC_EXIT;