39 wxBoxSizer* bottomSizer =
new wxBoxSizer( wxHORIZONTAL );
41 wxStaticText* schLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Board" ) );
42 wxStaticText* libLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Library" ) );
43 m_slider =
new wxSlider(
this, wxID_ANY, 50, 0, 100 );
45 bottomSizer->Add( schLabel, 0, wxALIGN_CENTRE_VERTICAL, 6 );
46 bottomSizer->Add(
m_slider, 1, wxLEFT | wxALIGN_CENTRE_VERTICAL, 6 );
47 bottomSizer->Add( libLabel, 0, wxLEFT | wxALIGN_CENTRE_VERTICAL, 6 );
50 wxString toggleTooltip =
_(
"Toggle between A and B display" );
54 bottomSizer->Add(
m_toggleButton, 0, wxLEFT | wxALIGN_CENTRE_VERTICAL, 6 );
56 m_outerSizer->Add( bottomSizer, 0, wxTOP | wxEXPAND, 6 );
60 if( aParent->GetSizer() )
61 aParent->GetSizer()->Fit( aParent );
77 [&]( wxCommandEvent& aEvent )