uifw/AvKon/src/akndialog.cpp
branchRCL_3
changeset 55 aecbbf00d063
parent 18 0aa5fbdfbc30
child 56 d48ab3b357f1
equal deleted inserted replaced
51:fcdfafb36fe7 55:aecbbf00d063
    85 /**
    85 /**
    86  *
    86  *
    87  */
    87  */
    88 EXPORT_C CAknDialog::~CAknDialog() 
    88 EXPORT_C CAknDialog::~CAknDialog() 
    89 	{
    89 	{
    90     AknItemActionMenuRegister::RemoveConstructingMenuBarOwner( this );
    90     AknItemActionMenuRegister::SetConstructingMenuBarOwnerL( NULL );
    91 
    91 
    92     if ( iCoeEnv->AppUi() && iAttributes )
    92     if ( iCoeEnv->AppUi() && iAttributes )
    93 		if (iAttributes->iAknDialogFlags&EAknDialogFlagDefaultSounds) // return original sound stack
    93 		if (iAttributes->iAknDialogFlags&EAknDialogFlagDefaultSounds) // return original sound stack
    94 			{
    94 			{
    95 			iAvkonAppUiBase->KeySounds()->PopContext();
    95 			iAvkonAppUiBase->KeySounds()->PopContext();
   241 /**
   241 /**
   242  * 
   242  * 
   243  */
   243  */
   244 EXPORT_C void CAknDialog::DisplayMenuL() 
   244 EXPORT_C void CAknDialog::DisplayMenuL() 
   245 	{
   245 	{
   246     if (iMenuBar)
   246 	iMenuBar->TryDisplayMenuBarL();
   247         {
       
   248         iMenuBar->TryDisplayMenuBarL();
       
   249         }
       
   250 	}
   247 	}
   251 
   248 
   252 /**
   249 /**
   253  * 
   250  * 
   254  */
   251  */