15PANEL_FP_LIB_TABLE_BASE::PANEL_FP_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 );
35 bButtonsSizer->Add(
m_browseButton, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
48 bButtonsSizer->Add( 20, 0, 0, wxEXPAND, 5 );
56 bButtonsSizer->Add( 20, 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_migrate_libs_button =
new wxButton(
this, wxID_ANY,
_(
"Migrate Libraries"), wxDefaultPosition, wxDefaultSize, 0 );
68 bMainSizer->Add( bButtonsSizer, 0, wxEXPAND|wxALL, 8 );
70 wxStaticText* stPathsLabel;
71 stPathsLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Available path substitutions:"), wxDefaultPosition, wxDefaultSize, 0 );
72 stPathsLabel->Wrap( -1 );
73 bMainSizer->Add( stPathsLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 8 );
76 bMainSizer->Add( 0, 2, 0, wxEXPAND, 5 );
105 m_path_subs_grid->SetToolTip(
_(
"This is a read-only table which shows pertinent environment variables.") );
107 bMainSizer->Add(
m_path_subs_grid, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
110 this->SetSizer( bMainSizer );
112 bMainSizer->Fit(
this );