From 375f3a7164af1e83e4961f7563a87bcfd31aeba6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 11 Jun 2023 21:56:12 +0100 Subject: [PATCH] Remove double call to Destroy() for DISPLAY_FOOTPRINTS_FRAME. Fixes https://gitlab.com/kicad/code/kicad/-/issues/14928 (cherry picked from commit bae8a077b9215e8eec225b0051ee6d3f689a0ccd) --- cvpcb/display_footprints_frame.cpp | 6 ------ cvpcb/display_footprints_frame.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/cvpcb/display_footprints_frame.cpp b/cvpcb/display_footprints_frame.cpp index d9bea07d5b..b769edd964 100644 --- a/cvpcb/display_footprints_frame.cpp +++ b/cvpcb/display_footprints_frame.cpp @@ -225,12 +225,6 @@ void DISPLAY_FOOTPRINTS_FRAME::setupUIConditions() } -void DISPLAY_FOOTPRINTS_FRAME::doCloseWindow() -{ - Destroy(); -} - - void DISPLAY_FOOTPRINTS_FRAME::ReCreateVToolbar() { // Currently, no vertical right toolbar. diff --git a/cvpcb/display_footprints_frame.h b/cvpcb/display_footprints_frame.h index ec78420dff..e2c7817dca 100644 --- a/cvpcb/display_footprints_frame.h +++ b/cvpcb/display_footprints_frame.h @@ -46,8 +46,6 @@ public: DISPLAY_FOOTPRINTS_FRAME( KIWAY* aKiway, wxWindow* aParent ); ~DISPLAY_FOOTPRINTS_FRAME() override; - void doCloseWindow() override; - void ReCreateHToolbar() override; void ReCreateVToolbar() override; void ReCreateOptToolbar() override;