From dad978080f4762f07c9b7d59e2b9de86fab2959e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Apr 2018 13:37:09 +0300 Subject: #suddenly: option pages don't receive neither WM_CLOSE nor even WM_DESTROY --- src/mir_app/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp index da88c86c8b..f7bca2cd9b 100644 --- a/src/mir_app/src/options.cpp +++ b/src/mir_app/src/options.cpp @@ -226,7 +226,7 @@ struct OptionsPageData : public MZeroedObject ~OptionsPageData() { - delete pDialog; + pDialog->Close(); } CDlgBase *pDialog; -- cgit v1.2.3