12PANEL_SETUP_LAYERS_BASE::PANEL_SETUP_LAYERS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
14 wxBoxSizer* bMainSizer;
15 bMainSizer =
new wxBoxSizer( wxVERTICAL );
17 wxBoxSizer* bSizerMargins;
18 bSizerMargins =
new wxBoxSizer( wxVERTICAL );
20 wxBoxSizer* bSizerLayerCnt;
21 bSizerLayerCnt =
new wxBoxSizer( wxHORIZONTAL );
24 bSizerLayerCnt->Add( 0, 0, 1, wxEXPAND, 5 );
30 bSizerMargins->Add( bSizerLayerCnt, 0, wxEXPAND|wxTOP|wxRIGHT, 5 );
32 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
33 bSizerMargins->Add(
m_staticline2, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
35 m_LayersListPanel =
new wxScrolledWindow(
this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxTAB_TRAVERSAL|wxVSCROLL );
41 m_LayersSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
50 bMainSizer->Add( bSizerMargins, 1, wxEXPAND, 5 );
53 this->SetSizer( bMainSizer );
~PANEL_SETUP_LAYERS_BASE()
wxButton * m_addUserDefinedLayerButton
PANEL_SETUP_LAYERS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(589, 704), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxStaticLine * m_staticline2
virtual void addUserDefinedLayer(wxCommandEvent &event)
wxScrolledWindow * m_LayersListPanel
wxFlexGridSizer * m_LayersSizer