mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
view: Don't load icons, we don't have one yet.
This commit is contained in:
parent
39f48dc8c9
commit
77e1b38f26
@ -277,16 +277,13 @@ static BOOL InitApplication(HINSTANCE hInstance)
|
|||||||
main window */
|
main window */
|
||||||
|
|
||||||
wc.cbSize = sizeof(WNDCLASSEX);
|
wc.cbSize = sizeof(WNDCLASSEX);
|
||||||
|
|
||||||
/* Load small icon image */
|
|
||||||
wc.hIconSm = LoadImage(hInstance, MAKEINTRESOURCEA(IDI_APPICON), IMAGE_ICON, 16, 16, 0);
|
|
||||||
|
|
||||||
wc.style = CS_HREDRAW | CS_VREDRAW; /* Class style(s) */
|
wc.style = CS_HREDRAW | CS_VREDRAW; /* Class style(s) */
|
||||||
wc.lpfnWndProc = WndProc; /* Window Procedure */
|
wc.lpfnWndProc = WndProc; /* Window Procedure */
|
||||||
wc.cbClsExtra = 0; /* No per-class extra data */
|
wc.cbClsExtra = 0; /* No per-class extra data */
|
||||||
wc.cbWndExtra = 0; /* No per-window extra data */
|
wc.cbWndExtra = 0; /* No per-window extra data */
|
||||||
wc.hInstance = hInstance; /* Owner of this class */
|
wc.hInstance = hInstance; /* Owner of this class */
|
||||||
wc.hIcon = LoadIcon(hInstance, szAppName); /* Icon name from .rc */
|
wc.hIcon = NULL;
|
||||||
|
wc.hIconSm = NULL;
|
||||||
wc.hCursor = LoadCursor(NULL, IDC_ARROW); /* Cursor */
|
wc.hCursor = LoadCursor(NULL, IDC_ARROW); /* Cursor */
|
||||||
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); /* Default color */
|
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); /* Default color */
|
||||||
wc.lpszMenuName = szAppName; /* Menu name from .rc */
|
wc.lpszMenuName = szAppName; /* Menu name from .rc */
|
||||||
|
Loading…
Reference in New Issue
Block a user