void GERBER_LAYER_WIDGET::onRightDownLayers( wxMouseEvent& event ) { wxMenu menu; AddRightClickMenuItems( &menu ); PopupMenu( &menu ); passOnFocus(); }
void GERBER_LAYER_WIDGET::OnLayerRightClick( wxMenu& aMenu ) { AddRightClickMenuItems( &aMenu ); }
void PCB_LAYER_WIDGET::OnLayerRightClick( wxMenu& aMenu ) { AddRightClickMenuItems( aMenu ); }