12APPEARANCE_CONTROLS_3D_BASE::APPEARANCE_CONTROLS_3D_BASE( wxWindow* parent, wxWindowID 
id, 
const wxPoint& pos, 
const wxSize& size, 
long style, 
const wxString& 
name ) : 
WX_PANEL( parent, id, pos, size, style, 
name )
 
   14    this->SetMinSize( wxSize( 210,360 ) );
 
   18    m_panelLayers = 
new wxPanel( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
 
   30    wxBoxSizer* bBottomMargin;
 
   31    bBottomMargin = 
new wxBoxSizer( wxVERTICAL );
 
   33    m_staticline1 = 
new wxStaticLine( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
   34    bBottomMargin->Add( 
m_staticline1, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 3 );
 
   37    bPresets = 
new wxBoxSizer( wxVERTICAL );
 
   39    m_presetsLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Presets (Ctrl+Tab):"), wxDefaultPosition, wxDefaultSize, 0 );
 
   43    wxString m_cbLayerPresetsChoices[] = { 
_(
"Follow PCB Editor"), 
_(
"Follow PCB Plot Settings") };
 
   44    int m_cbLayerPresetsNChoices = 
sizeof( m_cbLayerPresetsChoices ) / 
sizeof( wxString );
 
   45    m_cbLayerPresets = 
new wxChoice( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbLayerPresetsNChoices, m_cbLayerPresetsChoices, 0 );
 
   50    bBottomMargin->Add( bPresets, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
 
   53    bBottomMargin->Add( 0, 2, 0, wxEXPAND, 5 );
 
   55    wxBoxSizer* bViewports;
 
   56    bViewports = 
new wxBoxSizer( wxVERTICAL );
 
   58    m_viewportsLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Viewports (Alt+Tab):"), wxDefaultPosition, wxDefaultSize, 0 );
 
   62    wxString m_cbViewportsChoices[] = { 
_(
"(unsaved)") };
 
   63    int m_cbViewportsNChoices = 
sizeof( m_cbViewportsChoices ) / 
sizeof( wxString );
 
   64    m_cbViewports = 
new wxChoice( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbViewportsNChoices, m_cbViewportsChoices, 0 );
 
   69    bBottomMargin->Add( bViewports, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
 
   72    m_sizerOuter->Add( bBottomMargin, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
 
 
WX_PANEL(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)