16PANEL_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 )
18 wxBoxSizer* bMainSizer;
19 bMainSizer =
new wxBoxSizer( wxVERTICAL );
21 m_notebook =
new wxAuiNotebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_CLOSE_ON_ALL_TABS|wxAUI_NB_DEFAULT_STYLE );
23 bMainSizer->Add(
m_notebook, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
25 wxBoxSizer* bButtonsSizer;
26 bButtonsSizer =
new wxBoxSizer( wxHORIZONTAL );
36 bButtonsSizer->Add(
m_browseButton, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
49 bButtonsSizer->Add( 20, 0, 0, wxEXPAND, 5 );
57 bButtonsSizer->Add( 0, 0, 1, wxEXPAND, 5 );
59 m_resetGlobal =
new wxButton(
this, wxID_ANY,
_(
"Reset Libraries"), wxDefaultPosition, wxDefaultSize, 0 );
60 bButtonsSizer->Add(
m_resetGlobal, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
63 bButtonsSizer->Add( 0, 0, 0, wxEXPAND, 5 );
65 m_convertLegacy =
new wxButton(
this, wxID_ANY,
_(
"Migrate Libraries"), wxDefaultPosition, wxDefaultSize, 0 );
66 bButtonsSizer->Add(
m_convertLegacy, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
69 bMainSizer->Add( bButtonsSizer, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 3 );
72 bMainSizer->Add( 0, 5, 0, wxEXPAND, 5 );
74 wxStaticText* stPathsLabel;
75 stPathsLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Available path substitutions:"), wxDefaultPosition, wxDefaultSize, 0 );
76 stPathsLabel->Wrap( -1 );
77 bMainSizer->Add( stPathsLabel, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 8 );
80 bMainSizer->Add( 0, 2, 0, wxEXPAND, 5 );
109 m_path_subs_grid->SetToolTip(
_(
"This is a read-only table which shows pertinent environment variables.") );
111 bMainSizer->Add(
m_path_subs_grid, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
114 this->SetSizer( bMainSizer );
116 bMainSizer->Fit(
this );