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
09989010
Commit
09989010
authored
Apr 19, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemine: Set the window class small icon.
parent
80997b2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
main.c
programs/winemine/main.c
+4
-2
No files found.
programs/winemine/main.c
View file @
09989010
...
...
@@ -1008,7 +1008,7 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
int
WINAPI
WinMain
(
HINSTANCE
hInst
,
HINSTANCE
hPrevInst
,
LPSTR
cmdline
,
int
cmdshow
)
{
MSG
msg
;
WNDCLASS
wc
;
WNDCLASS
EX
wc
;
HWND
hWnd
;
HACCEL
haccel
;
char
appname
[
20
];
...
...
@@ -1025,8 +1025,10 @@ int WINAPI WinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmd
wc
.
hbrBackground
=
GetStockObject
(
BLACK_BRUSH
);
wc
.
lpszMenuName
=
"MENU_WINEMINE"
;
wc
.
lpszClassName
=
appname
;
wc
.
hIconSm
=
LoadImage
(
hInst
,
"WINEMINE"
,
IMAGE_ICON
,
GetSystemMetrics
(
SM_CXSMICON
),
GetSystemMetrics
(
SM_CYSMICON
),
LR_SHARED
);
if
(
!
RegisterClass
(
&
wc
))
ExitProcess
(
1
);
if
(
!
RegisterClass
Ex
(
&
wc
))
ExitProcess
(
1
);
hWnd
=
CreateWindow
(
appname
,
appname
,
wnd_style
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
...
...
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