wlansecuritysettings/wepsecuritysettingsui/src/WEPSecuritySettingsDlg.cpp
branchRCL_3
changeset 12 66f897dce0dc
parent 7 7b8801c4c2d9
equal deleted inserted replaced
7:7b8801c4c2d9 12:66f897dce0dc
    14 * Description: Implementation of dialog.  
    14 * Description: Implementation of dialog.  
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: tr1cfwln#8.1.22 %
    19 * %version: tr1cfwln#8.1.23 %
    20 */
    20 */
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <aknnavide.h>
    23 #include <aknnavide.h>
    24 #include <akntitle.h>
    24 #include <akntitle.h>
   442     _LIT( KEmpty, "" );
   442     _LIT( KEmpty, "" );
   443     if ( !iNaviDecoratorEmpty )
   443     if ( !iNaviDecoratorEmpty )
   444         {
   444         {
   445         iNaviDecoratorEmpty = iNaviPane->CreateNavigationLabelL( KEmpty );
   445         iNaviDecoratorEmpty = iNaviPane->CreateNavigationLabelL( KEmpty );
   446         }
   446         }
   447 
   447     if ( !iNaviDecoratorEmpty )
       
   448         {    
       
   449          	__ASSERT_DEBUG( EFalse, Panic( EGeneral ) );
       
   450         }
   448     if ( !iNaviDecoratorTabbed )
   451     if ( !iNaviDecoratorTabbed )
   449         {
   452         {
   450         iNaviDecoratorTabbed = iNaviPane->CreateTabGroupL();
   453         iNaviDecoratorTabbed = iNaviPane->CreateTabGroupL();
   451         
   454         
   452         if (iNaviDecoratorTabbed)
   455         if (iNaviDecoratorTabbed)
   481             iTabGroup->SetTabFixedWidthL( EAknTabWidthWithFourTabs );
   484             iTabGroup->SetTabFixedWidthL( EAknTabWidthWithFourTabs );
   482             iTabGroup->SetActiveTabByIndex( 0 );
   485             iTabGroup->SetActiveTabByIndex( 0 );
   483                 
   486                 
   484             iTabGroup->SetObserver( this );
   487             iTabGroup->SetObserver( this );
   485             }
   488             }
   486         }
   489         else 
   487 
   490           	{
       
   491           	__ASSERT_DEBUG( EFalse, Panic( EGeneral ) );
       
   492            	}
       
   493         }
   488     iNaviPane->PushL( *iNaviDecoratorEmpty );
   494     iNaviPane->PushL( *iNaviDecoratorEmpty );
   489     iList = STATIC_CAST( CAknSettingStyleListBox*, 
   495     iList = STATIC_CAST( CAknSettingStyleListBox*, 
   490                                         Control( KWepMainSettingsListboxId ) );
   496                                         Control( KWepMainSettingsListboxId ) );
   491 
   497 
   492     iList->CreateScrollBarFrameL( ETrue );
   498     iList->CreateScrollBarFrameL( ETrue );