Commit 9c7a01c7 authored by Daniel Jelinski's avatar Daniel Jelinski Committed by Alexandre Julliard

comdlg32: Load ComboBoxEx before creating dialogs that use it.

parent b8a787fd
...@@ -356,6 +356,12 @@ static BOOL GetFileDialog95A(LPOPENFILENAMEA ofn,UINT iDlgType) ...@@ -356,6 +356,12 @@ static BOOL GetFileDialog95A(LPOPENFILENAMEA ofn,UINT iDlgType)
LPWSTR defext = NULL; LPWSTR defext = NULL;
LPWSTR filter = NULL; LPWSTR filter = NULL;
LPWSTR customfilter = NULL; LPWSTR customfilter = NULL;
INITCOMMONCONTROLSEX icc;
/* Initialize ComboBoxEx32 */
icc.dwSize = sizeof(icc);
icc.dwICC = ICC_USEREX_CLASSES;
InitCommonControlsEx(&icc);
/* Initialize CommDlgExtendedError() */ /* Initialize CommDlgExtendedError() */
COMDLG32_SetCommDlgExtendedError(0); COMDLG32_SetCommDlgExtendedError(0);
...@@ -489,6 +495,12 @@ static BOOL GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType) ...@@ -489,6 +495,12 @@ static BOOL GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType)
BOOL ret; BOOL ret;
FileOpenDlgInfos fodInfos; FileOpenDlgInfos fodInfos;
LPWSTR lpstrSavDir = NULL; LPWSTR lpstrSavDir = NULL;
INITCOMMONCONTROLSEX icc;
/* Initialize ComboBoxEx32 */
icc.dwSize = sizeof(icc);
icc.dwICC = ICC_USEREX_CLASSES;
InitCommonControlsEx(&icc);
/* Initialize CommDlgExtendedError() */ /* Initialize CommDlgExtendedError() */
COMDLG32_SetCommDlgExtendedError(0); COMDLG32_SetCommDlgExtendedError(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment