comdlg32: Initialize file dialog controls before creating dialog.

This commit is contained in:
Juan Lang 2007-06-07 12:27:11 -07:00 committed by Alexandre Julliard
parent f8c8355d85
commit 13f18ee759
1 changed files with 2 additions and 2 deletions

View File

@ -1037,11 +1037,11 @@ INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
so it will be easily accessible through a GetPropA(...) */
SetPropA(hwnd, FileOpenDlgInfosStr, (HANDLE) fodInfos);
FILEDLG95_InitControls(hwnd);
fodInfos->DlgInfos.hwndCustomDlg =
CreateTemplateDialog((FileOpenDlgInfos *)lParam, hwnd);
FILEDLG95_InitControls(hwnd);
if (fodInfos->DlgInfos.hwndCustomDlg)
{
RECT rc;