uifw/AvKon/src/AknPreviewPopUp.cpp
branchRCL_3
changeset 9 0aa5fbdfbc30
parent 7 08e69e956a8c
child 10 3d340a0166ff
equal deleted inserted replaced
8:71dd06cfe933 9:0aa5fbdfbc30
    76 // CAknPreviewPopUp::~CAknPreviewPopUp
    76 // CAknPreviewPopUp::~CAknPreviewPopUp
    77 // -----------------------------------------------------------------------------
    77 // -----------------------------------------------------------------------------
    78 //
    78 //
    79 CAknPreviewPopUp::~CAknPreviewPopUp()
    79 CAknPreviewPopUp::~CAknPreviewPopUp()
    80     {
    80     {
       
    81 
       
    82     if ( IsVisible() )
       
    83         {
       
    84         iCloseMenu = ETrue;
       
    85         iController.HidePopUp();
       
    86         }
       
    87 		
    81     AKNTASHOOK_REMOVE();
    88     AKNTASHOOK_REMOVE();
    82     
    89     
    83     GfxTransEffect::Deregister( this );
    90     GfxTransEffect::Deregister( this );
    84 
    91 
    85     if ( CapturesPointer() )
    92     if ( CapturesPointer() )