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: