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
12b2cf4c
Commit
12b2cf4c
authored
Sep 20, 2005
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the usage of COLOR_xxx constants in the place of the window's
class hbrBackground.
parent
2a4cbe02
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dialog.c
dlls/msi/dialog.c
+1
-1
ordinal.c
dlls/shlwapi/ordinal.c
+2
-2
main.c
programs/notepad/main.c
+1
-1
No files found.
dlls/msi/dialog.c
View file @
12b2cf4c
...
...
@@ -1973,7 +1973,7 @@ BOOL msi_dialog_register_class( void )
cls
.
hInstance
=
NULL
;
cls
.
hIcon
=
LoadIconW
(
0
,
(
LPWSTR
)
IDI_APPLICATION
);
cls
.
hCursor
=
LoadCursorW
(
0
,
(
LPWSTR
)
IDC_ARROW
);
cls
.
hbrBackground
=
(
HBRUSH
)(
COLOR_WINDOW
);
cls
.
hbrBackground
=
(
HBRUSH
)(
COLOR_WINDOW
+
1
);
cls
.
lpszMenuName
=
NULL
;
cls
.
lpszClassName
=
szMsiDialogClass
;
...
...
dlls/shlwapi/ordinal.c
View file @
12b2cf4c
...
...
@@ -2593,7 +2593,7 @@ HWND WINAPI SHCreateWorkerWindowA(LONG wndProc, HWND hWndParent, DWORD dwExStyle
wc
.
hInstance
=
shlwapi_hInstance
;
wc
.
hIcon
=
NULL
;
wc
.
hCursor
=
LoadCursorA
(
NULL
,
(
LPSTR
)
IDC_ARROW
);
wc
.
hbrBackground
=
(
HBRUSH
)
COLOR_BTNSHADOW
;
wc
.
hbrBackground
=
(
HBRUSH
)
(
COLOR_BTNFACE
+
1
)
;
wc
.
lpszMenuName
=
NULL
;
wc
.
lpszClassName
=
szClass
;
...
...
@@ -2880,7 +2880,7 @@ HWND WINAPI SHCreateWorkerWindowW(LONG wndProc, HWND hWndParent, DWORD dwExStyle
wc
.
hInstance
=
shlwapi_hInstance
;
wc
.
hIcon
=
NULL
;
wc
.
hCursor
=
LoadCursorW
(
NULL
,
(
LPWSTR
)
IDC_ARROW
);
wc
.
hbrBackground
=
(
HBRUSH
)
COLOR_BTNSHADOW
;
wc
.
hbrBackground
=
(
HBRUSH
)
(
COLOR_BTNFACE
+
1
)
;
wc
.
lpszMenuName
=
NULL
;
wc
.
lpszClassName
=
szClass
;
...
...
programs/notepad/main.c
View file @
12b2cf4c
...
...
@@ -345,7 +345,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
class
.
hInstance
=
Globals
.
hInstance
;
class
.
hIcon
=
LoadIcon
(
0
,
IDI_APPLICATION
);
class
.
hCursor
=
LoadCursor
(
0
,
IDC_ARROW
);
class
.
hbrBackground
=
(
HBRUSH
)(
COLOR_WINDOW
);
class
.
hbrBackground
=
(
HBRUSH
)(
COLOR_WINDOW
+
1
);
class
.
lpszMenuName
=
MAKEINTRESOURCE
(
MAIN_MENU
);
class
.
lpszClassName
=
className
;
...
...
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