text: /*=========================================================================
  
   Program: MAF2
   Module: testRWIApp
   Authors: Silvano Imboden
   
   Copyright (c) B3C
   All rights reserved. See Copyright.txt or
   http://www.scsitaly.com/Copyright.htm for details.
  
   This software is distributed WITHOUT ANY WARRANTY; without even
   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
   PURPOSE.  See the above copyright notice for more information.
  
  =========================================================================*/
  
  
  #include "mafDefines.h" 
  //----------------------------------------------------------------------------
  // NOTE: Every CPP file in the MAF must include "mafDefines.h" as first.
  // This force to include Window,wxWidgets and VTK exactly in this order.
  // Failing in doing this will result in a run-time error saying:
  // "Failure#0: The value of ESP was not properly saved across a function call"
  //----------------------------------------------------------------------------
  
  
  #include "testRWIApp.h"
  #include "mafPics.h"
  
  //--------------------------------------------------------------------------------
  // Create the Application
  //--------------------------------------------------------------------------------
  IMPLEMENT_APP(testRWIApp)
  
  //--------------------------------------------------------------------------------
  bool testRWIApp::OnInit()
  //--------------------------------------------------------------------------------
  {
    mafPics.Initialize();	
  
    m_logic = new testRWILogic();
    SetTopWindow(m_logic->m_win);
    m_logic->Show();
    return TRUE;
  }
  //--------------------------------------------------------------------------------
  int testRWIApp::OnExit()
  //--------------------------------------------------------------------------------
  {
    cppDEL(m_logic);
    return 0;
  }
  
  
  
  
  
  
  
  
  
  
  
  