summaryrefslogtreecommitdiff
path: root/plugins/Import/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-04 17:35:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-04 17:35:56 +0300
commit932be7eac7944a69a1fe1acadcbcca2743377b3f (patch)
treee51383bd55fe9d6bbd223f1d5955a74867124707 /plugins/Import/src
parentf531ff887729783a7fe7a3e12ad12f658eefc7b0 (diff)
all improper calls of OnClose replaced with OnDestroy / OnApply
Diffstat (limited to 'plugins/Import/src')
-rw-r--r--plugins/Import/src/wizard.cpp6
1 files changed, 1 insertions, 5 deletions
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;