From 932be7eac7944a69a1fe1acadcbcca2743377b3f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 4 Jun 2020 17:35:56 +0300 Subject: all improper calls of OnClose replaced with OnDestroy / OnApply --- plugins/Import/src/wizard.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/Import/src') diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp index 4cb84ce5bc..fcc3bbd8d4 100644 --- a/plugins/Import/src/wizard.cpp +++ b/plugins/Import/src/wizard.cpp @@ -147,16 +147,12 @@ public: return RD_ANCHORX_LEFT | RD_ANCHORY_BOTTOM; } - bool OnClose() override + void OnDestroy() override { Utils_SaveWindowPosition(m_hwnd, 0, IMPORT_MODULE, "wiz"); if (hwndPage) DestroyWindow(hwndPage); - return true; - } - void OnDestroy() override - { g_hwndWizard = nullptr; delete g_pBatch; g_pBatch = nullptr; -- cgit v1.2.3