12EDA_VIEW_SWITCHER_BASE::EDA_VIEW_SWITCHER_BASE( wxWindow* parent, wxWindowID 
id, 
const wxString& title, 
const wxPoint& pos, 
const wxSize& size, 
long style ) : 
DIALOG_SHIM( parent, id, title, pos, size, style )
 
   14    this->SetSizeHints( wxDefaultSize, wxDefaultSize );
 
   16    wxBoxSizer* bSizerMain;
 
   17    bSizerMain = 
new wxBoxSizer( wxVERTICAL );
 
   19    m_stTitle = 
new wxStaticText( 
this, wxID_ANY, 
_(
"View Preset Switcher"), wxDefaultPosition, wxDefaultSize, 0 );
 
   21    m_stTitle->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, 
false, wxEmptyString ) );
 
   23    bSizerMain->Add( 
m_stTitle, 0, wxALL|wxEXPAND, 5 );
 
   25    m_listBox = 
new wxListBox( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0|wxBORDER_NONE );
 
   26    bSizerMain->Add( 
m_listBox, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
 
   29    this->SetSizer( bSizerMain );
 
   31    bSizerMain->Fit( 
this );
 
   33    this->Centre( wxBOTH );
 
 
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
 
EDA_VIEW_SWITCHER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("View Preset Switcher"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSTAY_ON_TOP)