diff --git a/pcbnew/pcb_base_edit_frame.cpp b/pcbnew/pcb_base_edit_frame.cpp index 66a90a7b3a..13eea54013 100644 --- a/pcbnew/pcb_base_edit_frame.cpp +++ b/pcbnew/pcb_base_edit_frame.cpp @@ -278,7 +278,7 @@ wxString PCB_BASE_EDIT_FRAME::GetDesignRulesPath() void PCB_BASE_EDIT_FRAME::handleActivateEvent( wxActivateEvent& aEvent ) { - EDA_DRAW_FRAME::handleActivateEvent( aEvent ); + PCB_BASE_FRAME::handleActivateEvent( aEvent ); // The text in the collapsible pane headers need to be updated if( m_appearancePanel )