From 1a4f30d78b1986f3f79558de725c8f34dae3ee75 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Jul 2022 18:15:50 +0300 Subject: WhenWasIt: all dialogs -> UI classes --- plugins/WhenWasIt/src/WhenWasIt.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'plugins/WhenWasIt/src/WhenWasIt.cpp') diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp index 5f5d718ea5..8a97f7f513 100644 --- a/plugins/WhenWasIt/src/WhenWasIt.cpp +++ b/plugins/WhenWasIt/src/WhenWasIt.cpp @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h" HWND hBirthdaysDlg = nullptr; -HWND hUpcomingDlg = nullptr; MWindowList hAddBirthdayWndsList = nullptr; CMPlugin g_plugin; @@ -158,15 +157,6 @@ int CMPlugin::Unload() { Log("%s", "Entering function " __FUNCTION__); - if (hBirthdaysDlg) - SendMessage(hBirthdaysDlg, WM_CLOSE, 0, 0); - - if (hUpcomingDlg) - SendMessage(hUpcomingDlg, WM_CLOSE, 0, 0); - - WindowList_Broadcast(hAddBirthdayWndsList, WM_CLOSE, 0, 0); - WindowList_Destroy(hAddBirthdayWndsList); - Log("%s", "Unhooking events ..."); UnhookEvents(); -- cgit v1.2.3