From a334516a231bc13b93e20aa59023e37d7c4ba666 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 21 Mar 2018 18:08:40 +0300 Subject: Import: the wizard dialog to use initialization structure instead of PostMessage --- plugins/Import/src/stdafx.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/Import/src/stdafx.h') diff --git a/plugins/Import/src/stdafx.h b/plugins/Import/src/stdafx.h index 0d201a39cb..21007d9136 100644 --- a/plugins/Import/src/stdafx.h +++ b/plugins/Import/src/stdafx.h @@ -67,6 +67,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. void AddMessage(const wchar_t* fmt, ...); +struct WizardDlgParam +{ + WPARAM wParam; + LPARAM lParam; +}; + INT_PTR CALLBACK WizardIntroPageProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK ProgressPageProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK MirandaPageProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam); @@ -79,7 +85,7 @@ bool IsDuplicateEvent(MCONTACT hContact, DBEVENTINFO dbei); int CreateGroup(const wchar_t *name, MCONTACT hContact); extern HINSTANCE hInst; -extern HWND hwndAccMerge; +extern HWND hwndWizard, hwndAccMerge; extern int nImportOptions; extern wchar_t importFile[]; extern time_t dwSinceDate; -- cgit v1.2.3