Use the correct parent for the root node placeholders of board setup
(cherry picked from commit 38842647b8
)
This commit is contained in:
parent
2481b21d80
commit
b7ec594c0a
|
@ -77,7 +77,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;
|
||||
|
||||
|
@ -97,11 +97,11 @@ 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_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