mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:35:40 +00:00
[WINVER] Fix WINVER theming. CORE-13343 (#1428)
Use and initialize common controls for theming support, and include a manifest as well.
This commit is contained in:
parent
65239bcf4b
commit
3747699735
3 changed files with 15 additions and 1 deletions
|
@ -7,14 +7,23 @@
|
|||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winuser.h>
|
||||
#include <commctrl.h>
|
||||
#include <shellapi.h>
|
||||
|
||||
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
|
||||
{
|
||||
INITCOMMONCONTROLSEX iccx;
|
||||
|
||||
UNREFERENCED_PARAMETER(hInstance);
|
||||
UNREFERENCED_PARAMETER(hPrevInstance);
|
||||
UNREFERENCED_PARAMETER(lpCmdLine);
|
||||
UNREFERENCED_PARAMETER(nCmdShow);
|
||||
|
||||
/* Initialize common controls */
|
||||
iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
|
||||
iccx.dwICC = ICC_STANDARD_CLASSES | ICC_WIN95_CLASSES;
|
||||
InitCommonControlsEx(&iccx);
|
||||
|
||||
return ShellAboutW(NULL, L"ReactOS", NULL, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue