From d220fe390a17b3ed1f6780d0cf3a476c3c3e9674 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 1 Aug 2013 13:31:00 +0000 Subject: MwssageBox HWND fix git-svn-id: http://svn.miranda-ng.org/main/trunk@5548 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/ExportImport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/NewsAggregator/Src/ExportImport.cpp b/plugins/NewsAggregator/Src/ExportImport.cpp index 13ecd075aa..17d16bdee0 100644 --- a/plugins/NewsAggregator/Src/ExportImport.cpp +++ b/plugins/NewsAggregator/Src/ExportImport.cpp @@ -303,12 +303,12 @@ INT_PTR CALLBACK DlgProcImportOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM } } else - MessageBox(NULL, TranslateT("Not valid import file."), TranslateT("Error"), MB_OK | MB_ICONERROR); + MessageBox(hwndDlg, TranslateT("Not valid import file."), TranslateT("Error"), MB_OK | MB_ICONERROR); xi.destroyNode(hXml); SetDlgItemText(hwndDlg, IDC_IMPORTFILEPATH, FileName); } else - MessageBox(NULL, TranslateT("Not valid import file."), TranslateT("Error"), MB_OK | MB_ICONERROR); + MessageBox(hwndDlg, TranslateT("Not valid import file."), TranslateT("Error"), MB_OK | MB_ICONERROR); mir_free(tszMirDir); break; -- cgit v1.2.3