Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
01593894
Commit
01593894
authored
Nov 22, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Make sure that common controls are loaded before creating the dialog.
parent
cdaf3c00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Makefile.in
dlls/browseui/Makefile.in
+1
-1
progressdlg.c
dlls/browseui/progressdlg.c
+3
-0
No files found.
dlls/browseui/Makefile.in
View file @
01593894
MODULE
=
browseui.dll
IMPORTS
=
uuid ole32 user32 advapi32
IMPORTS
=
uuid ole32
comctl32
user32 advapi32
EXTRADEFS
=
-DCOM_NO_WINDOWS_H
C_SRCS
=
\
...
...
dlls/browseui/progressdlg.c
View file @
01593894
...
...
@@ -304,6 +304,7 @@ static ULONG WINAPI ProgressDialog_Release(IProgressDialog *iface)
static
HRESULT
WINAPI
ProgressDialog_StartProgressDialog
(
IProgressDialog
*
iface
,
HWND
hwndParent
,
IUnknown
*
punkEnableModeless
,
DWORD
dwFlags
,
LPCVOID
reserved
)
{
static
const
INITCOMMONCONTROLSEX
init
=
{
sizeof
(
init
),
ICC_ANIMATE_CLASS
};
ProgressDialog
*
This
=
impl_from_IProgressDialog
(
iface
);
struct
create_params
params
;
HANDLE
hThread
;
...
...
@@ -316,6 +317,8 @@ static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface,
if
(
dwFlags
&
PROGDLG_NOTIME
)
FIXME
(
"Flags PROGDLG_NOTIME not supported
\n
"
);
InitCommonControlsEx
(
&
init
);
EnterCriticalSection
(
&
This
->
cs
);
if
(
This
->
hwnd
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment