15PANEL_SYM_LIB_TABLE_BASE::PANEL_SYM_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
17 wxBoxSizer* bMainSizer;
18 bMainSizer =
new wxBoxSizer( wxVERTICAL );
20 m_notebook =
new wxAuiNotebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_CLOSE_ON_ALL_TABS|wxAUI_NB_DEFAULT_STYLE );
22 bMainSizer->Add(
m_notebook, 1, wxEXPAND | wxALL, 5 );
24 wxBoxSizer* bButtonsSizer;
25 bButtonsSizer =
new wxBoxSizer( wxHORIZONTAL );
48 bButtonsSizer->Add( 20, 0, 0, wxEXPAND, 5 );
56 bButtonsSizer->Add( 0, 0, 1, wxEXPAND, 5 );
58 m_resetGlobal =
new wxButton(
this, wxID_ANY,
_(
"Reset Libraries"), wxDefaultPosition, wxDefaultSize, 0 );
59 bButtonsSizer->Add(
m_resetGlobal, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
62 bButtonsSizer->Add( 0, 0, 0, wxEXPAND, 5 );
64 m_convertLegacy =
new wxButton(
this, wxID_ANY,
_(
"Migrate Libraries"), wxDefaultPosition, wxDefaultSize, 0 );
65 bButtonsSizer->Add(
m_convertLegacy, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
68 bMainSizer->Add( bButtonsSizer, 0, wxEXPAND|wxALL, 3 );
71 bMainSizer->Add( 0, 5, 0, wxEXPAND, 5 );
73 wxStaticText* stPathsLabel;
74 stPathsLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Available path substitutions:"), wxDefaultPosition, wxDefaultSize, 0 );
75 stPathsLabel->Wrap( -1 );
76 bMainSizer->Add( stPathsLabel, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 8 );
79 bMainSizer->Add( 0, 2, 0, wxEXPAND, 5 );
108 m_path_subs_grid->SetToolTip(
_(
"This is a read-only table which shows pertinent environment variables.") );
110 bMainSizer->Add(
m_path_subs_grid, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
113 this->SetSizer( bMainSizer );
115 bMainSizer->Fit(
this );