From 79e2adf9162bdfcc35d2a822a4309d75d35a2d04 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Oct 2017 23:22:15 +0200 Subject: [PATCH] Remove unused wxSPDD_DISABLE_ABORT notification This notification and the code handling it were never used, so just remove it. --- src/msw/progdlg.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/msw/progdlg.cpp b/src/msw/progdlg.cpp index f660421f8a..e7063df445 100644 --- a/src/msw/progdlg.cpp +++ b/src/msw/progdlg.cpp @@ -57,7 +57,6 @@ const int wxSPDD_EXPINFO_CHANGED = 0x0020; const int wxSPDD_ENABLE_SKIP = 0x0040; const int wxSPDD_ENABLE_ABORT = 0x0080; const int wxSPDD_DISABLE_SKIP = 0x0100; -const int wxSPDD_DISABLE_ABORT = 0x0200; const int wxSPDD_FINISHED = 0x0400; const int wxSPDD_DESTROYED = 0x0800; const int wxSPDD_ICON_CHANGED = 0x1000; @@ -321,9 +320,6 @@ void PerformNotificationUpdates(HWND hwnd, if ( sharedData->m_notifications & wxSPDD_DISABLE_SKIP ) ::SendMessage( hwnd, TDM_ENABLE_BUTTON, Id_SkipBtn, FALSE ); - if ( sharedData->m_notifications & wxSPDD_DISABLE_ABORT ) - ::SendMessage( hwnd, TDM_ENABLE_BUTTON, IDCANCEL, FALSE ); - // Is the progress finished? if ( sharedData->m_notifications & wxSPDD_FINISHED ) {