1 /*=========================================================================
4 Module: $RCSfile: wxMaracasEmptyPanel.cxx,v $
6 Date: $Date: 2009/05/14 13:54:54 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
18 #include "wxMaracasEmptyPanel.h"
21 wxMaracasEmptyPanel::wxMaracasEmptyPanel( wxFrame* parent )
22 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
24 // Create the main frame window
25 _emptyPanel = new wxEmptyPanelWidget( this );
26 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
27 szTop->Add( _emptyPanel, 1 , wxEXPAND | wxALL , 0 );
29 szTop->SetSizeHints( this );
30 this->SetAutoLayout( true );
31 this->SetSizer( szTop );
34 //----------------------------------------------------------------------------
35 wxMaracasEmptyPanel::~wxMaracasEmptyPanel( )
39 //----------------------------------------------------------------------------
40 void wxMaracasEmptyPanel::ConfigureVTK( vtkImageData *imagedata, int x, int y, int z )
42 _emptyPanel->ConfigureVTK(imagedata, x, y, z );
44 //----------------------------------------------------------------------------
46 // EOF - wxMaracasEmptyPanel.cxx