From 8c33c6c09903429dce8a3bd805ada76908375156 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 15 Aug 2023 14:08:19 +0100 Subject: [PATCH] Remove unused variable. --- common/widgets/paged_dialog.cpp | 1 - include/widgets/paged_dialog.h | 1 - 2 files changed, 2 deletions(-) diff --git a/common/widgets/paged_dialog.cpp b/common/widgets/paged_dialog.cpp index 5a2cbc6b07..818485924c 100644 --- a/common/widgets/paged_dialog.cpp +++ b/common/widgets/paged_dialog.cpp @@ -51,7 +51,6 @@ PAGED_DIALOG::PAGED_DIALOG( wxWindow* aParent, const wxString& aTitle, bool aSho m_auxiliaryButton( nullptr ), m_resetButton( nullptr ), m_openPrefsDirButton( nullptr ), - m_cancelButton( nullptr ), m_title( aTitle ) { wxBoxSizer* mainSizer = new wxBoxSizer( wxVERTICAL ); diff --git a/include/widgets/paged_dialog.h b/include/widgets/paged_dialog.h index 65a8cde573..814fed95b7 100644 --- a/include/widgets/paged_dialog.h +++ b/include/widgets/paged_dialog.h @@ -69,7 +69,6 @@ protected: wxButton* m_auxiliaryButton; wxButton* m_resetButton; wxButton* m_openPrefsDirButton; - wxButton* m_cancelButton; WX_INFOBAR* m_infoBar; private: