16PANEL_SYM_COLOR_SETTINGS_BASE::
PANEL_SYM_COLOR_SETTINGS_BASE( wxWindow* parent, wxWindowID
id, const wxPoint& pos, const wxSize& size,
long style, const wxString&
name ) : wxPanel( parent,
id, pos, size, style,
name )
18 wxBoxSizer* p1mainSizer;
19 p1mainSizer =
new wxBoxSizer( wxVERTICAL );
22 bMargins =
new wxBoxSizer( wxVERTICAL );
24 m_eeschemaRB =
new wxRadioButton(
this, wxID_ANY,
_(
"Use schematic editor color theme"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
25 bMargins->Add( m_eeschemaRB, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
28 bSizer2 =
new wxBoxSizer( wxHORIZONTAL );
30 m_themeRB =
new wxRadioButton(
this, wxID_ANY,
_(
"Use theme:"), wxDefaultPosition, wxDefaultSize, 0 );
31 bSizer2->Add( m_themeRB, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
33 wxArrayString m_themesChoices;
34 m_themes =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_themesChoices, 0 );
35 m_themes->SetSelection( 0 );
36 bSizer2->Add( m_themes, 1, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
39 bMargins->Add( bSizer2, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
42 p1mainSizer->Add( bMargins, 0, wxTOP, 10 );
45 this->SetSizer( p1mainSizer );
47 p1mainSizer->Fit(
this );
Class PANEL_SYM_COLOR_SETTINGS_BASE.
void _wxFB_OnThemeChanged(wxCommandEvent &event)
~PANEL_SYM_COLOR_SETTINGS_BASE()