Use the correct parent for the root node placeholders of board setup
This commit is contained in:
parent
7550bd6d4f
commit
38842647b8
|
@ -78,7 +78,7 @@ DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP( PCB_EDIT_FRAME* aFrame ) :
|
|||
* WARNING: If you change page names you MUST update calls to ShowBoardSetupDialog().
|
||||
*/
|
||||
|
||||
m_treebook->AddPage( new wxPanel( this ), _( "Board Stackup" ) );
|
||||
m_treebook->AddPage( new wxPanel( GetTreebook() ), _( "Board Stackup" ) );
|
||||
|
||||
m_currentPage = -1;
|
||||
|
||||
|
@ -98,12 +98,12 @@ DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP( PCB_EDIT_FRAME* aFrame ) :
|
|||
m_treebook->AddSubPage( m_boardFinish, _( "Board Finish" ) );
|
||||
m_treebook->AddSubPage( m_maskAndPaste, _( "Solder Mask/Paste" ) );
|
||||
|
||||
m_treebook->AddPage( new wxPanel( this ), _( "Text & Graphics" ) );
|
||||
m_treebook->AddPage( new wxPanel( GetTreebook() ), _( "Text & Graphics" ) );
|
||||
m_treebook->AddSubPage( m_textAndGraphics, _( "Defaults" ) );
|
||||
m_treebook->AddSubPage( m_formatting, _( "Fomatting" ) );
|
||||
m_treebook->AddSubPage( m_textVars, _( "Text Variables" ) );
|
||||
|
||||
m_treebook->AddPage( new wxPanel( this ), _( "Design Rules" ) );
|
||||
m_treebook->AddPage( new wxPanel( GetTreebook() ), _( "Design Rules" ) );
|
||||
m_treebook->AddSubPage( m_constraints, _( "Constraints" ) );
|
||||
m_treebook->AddSubPage( m_tracksAndVias, _( "Pre-defined Sizes" ) );
|
||||
m_treebook->AddSubPage( m_netclasses, _( "Net Classes" ) );
|
||||
|
|
Loading…
Reference in New Issue