Fix library table dialog tab labels.
This commit is contained in:
parent
c351b3c31f
commit
042e5956c2
|
@ -287,9 +287,6 @@ PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE( DIALOG_EDIT_LIBRARY_TABLES* aParent,
|
||||||
|
|
||||||
setupGrid( m_global_grid );
|
setupGrid( m_global_grid );
|
||||||
|
|
||||||
m_notebook->SetPageText( 0, _( "Global Libraries" ) );
|
|
||||||
m_notebook->SetPageText( 1, _( "Project Specific Libraries" ) );
|
|
||||||
|
|
||||||
if( aProject )
|
if( aProject )
|
||||||
{
|
{
|
||||||
m_PrjTableFilename->SetLabel( aProjectTablePath );
|
m_PrjTableFilename->SetLabel( aProjectTablePath );
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020)
|
// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
|
@ -72,7 +72,7 @@ PANEL_SYM_LIB_TABLE_BASE::PANEL_SYM_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
|
||||||
m_global_panel->SetSizer( m_global_sizer );
|
m_global_panel->SetSizer( m_global_sizer );
|
||||||
m_global_panel->Layout();
|
m_global_panel->Layout();
|
||||||
m_global_sizer->Fit( m_global_panel );
|
m_global_sizer->Fit( m_global_panel );
|
||||||
m_notebook->AddPage( m_global_panel, _("a page"), false );
|
m_notebook->AddPage( m_global_panel, _("Global Libraries"), true );
|
||||||
m_project_panel = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
m_project_panel = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
||||||
wxBoxSizer* m_project_sizer;
|
wxBoxSizer* m_project_sizer;
|
||||||
m_project_sizer = new wxBoxSizer( wxVERTICAL );
|
m_project_sizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
@ -124,7 +124,7 @@ PANEL_SYM_LIB_TABLE_BASE::PANEL_SYM_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
|
||||||
m_project_panel->SetSizer( m_project_sizer );
|
m_project_panel->SetSizer( m_project_sizer );
|
||||||
m_project_panel->Layout();
|
m_project_panel->Layout();
|
||||||
m_project_sizer->Fit( m_project_panel );
|
m_project_sizer->Fit( m_project_panel );
|
||||||
m_notebook->AddPage( m_project_panel, _("a page"), true );
|
m_notebook->AddPage( m_project_panel, _("Project Specific Libraries"), false );
|
||||||
|
|
||||||
m_top_sizer->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
|
m_top_sizer->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
|
||||||
|
|
||||||
|
|
|
@ -128,8 +128,8 @@
|
||||||
<event name="OnNotebookPageChanged">pageChangedHandler</event>
|
<event name="OnNotebookPageChanged">pageChangedHandler</event>
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">a page</property>
|
<property name="label">Global Libraries</property>
|
||||||
<property name="select">0</property>
|
<property name="select">1</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -419,8 +419,8 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">a page</property>
|
<property name="label">Project Specific Libraries</property>
|
||||||
<property name="select">1</property>
|
<property name="select">0</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020)
|
// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
|
|
|
@ -436,9 +436,6 @@ PANEL_FP_LIB_TABLE::PANEL_FP_LIB_TABLE( DIALOG_EDIT_LIBRARY_TABLES* aParent,
|
||||||
|
|
||||||
populateEnvironReadOnlyTable();
|
populateEnvironReadOnlyTable();
|
||||||
|
|
||||||
m_notebook->SetPageText( 0, _( "Global Libraries" ) );
|
|
||||||
m_notebook->SetPageText( 1, _( "Project Specific Libraries" ) );
|
|
||||||
|
|
||||||
if( aProject )
|
if( aProject )
|
||||||
{
|
{
|
||||||
m_PrjTableFilename->SetLabel( aProjectTblPath );
|
m_PrjTableFilename->SetLabel( aProjectTblPath );
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020)
|
// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
|
@ -71,7 +71,7 @@ PANEL_FP_LIB_TABLE_BASE::PANEL_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID i
|
||||||
m_global_panel->SetSizer( m_global_sizer );
|
m_global_panel->SetSizer( m_global_sizer );
|
||||||
m_global_panel->Layout();
|
m_global_panel->Layout();
|
||||||
m_global_sizer->Fit( m_global_panel );
|
m_global_sizer->Fit( m_global_panel );
|
||||||
m_notebook->AddPage( m_global_panel, _("a page"), false );
|
m_notebook->AddPage( m_global_panel, _("Global Libraries"), true );
|
||||||
m_project_panel = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
m_project_panel = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
||||||
wxBoxSizer* m_project_sizer;
|
wxBoxSizer* m_project_sizer;
|
||||||
m_project_sizer = new wxBoxSizer( wxVERTICAL );
|
m_project_sizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
@ -123,7 +123,7 @@ PANEL_FP_LIB_TABLE_BASE::PANEL_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID i
|
||||||
m_project_panel->SetSizer( m_project_sizer );
|
m_project_panel->SetSizer( m_project_sizer );
|
||||||
m_project_panel->Layout();
|
m_project_panel->Layout();
|
||||||
m_project_sizer->Fit( m_project_panel );
|
m_project_sizer->Fit( m_project_panel );
|
||||||
m_notebook->AddPage( m_project_panel, _("a page"), false );
|
m_notebook->AddPage( m_project_panel, _("Project Specific Libraries"), false );
|
||||||
|
|
||||||
m_top_sizer->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
|
m_top_sizer->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
|
||||||
|
|
||||||
|
|
|
@ -128,8 +128,8 @@
|
||||||
<event name="OnNotebookPageChanged">pageChangedHandler</event>
|
<event name="OnNotebookPageChanged">pageChangedHandler</event>
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">a page</property>
|
<property name="label">Global Libraries</property>
|
||||||
<property name="select">0</property>
|
<property name="select">1</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -419,7 +419,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">a page</property>
|
<property name="label">Project Specific Libraries</property>
|
||||||
<property name="select">0</property>
|
<property name="select">0</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020)
|
// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
|
|
Loading…
Reference in New Issue