diff options
Diffstat (limited to 'plugins/Import/src/wizard.cpp')
-rw-r--r-- | plugins/Import/src/wizard.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp index f23bf6ce1b..1decf1d74f 100644 --- a/plugins/Import/src/wizard.cpp +++ b/plugins/Import/src/wizard.cpp @@ -97,6 +97,12 @@ INT_PTR CALLBACK WizardDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lP case WM_INITDIALOG:
TranslateDialogDefault(hdlg);
Window_SetIcon_IcoLib(hdlg, GetIconHandle(IDI_IMPORT));
+ hwndWizard = hdlg;
+ {
+ WizardDlgParam *param = (WizardDlgParam*)lParam;
+ if (param)
+ PostMessage(hdlg, WIZM_GOTOPAGE, param->wParam, param->lParam);
+ }
return TRUE;
case WIZM_GOTOPAGE:
|