diff --git a/reactos/subsys/system/calc/calculator.ico b/reactos/subsys/system/calc/calculator.ico new file mode 100644 index 00000000000..93c4994da1d Binary files /dev/null and b/reactos/subsys/system/calc/calculator.ico differ diff --git a/reactos/subsys/system/calc/resource.h b/reactos/subsys/system/calc/resource.h index 9938d36fd97..bb690accef9 100644 --- a/reactos/subsys/system/calc/resource.h +++ b/reactos/subsys/system/calc/resource.h @@ -32,6 +32,8 @@ #define IDM_SEPARATOR3 1010 #define IDM_WHATS_THIS 1011 +#define IDI_CALCICON 1050 + /* strings */ #define IDS_APPNAME 1100 diff --git a/reactos/subsys/system/calc/rsrc.rc b/reactos/subsys/system/calc/rsrc.rc index 11a00c110a8..3838c8ef8df 100644 --- a/reactos/subsys/system/calc/rsrc.rc +++ b/reactos/subsys/system/calc/rsrc.rc @@ -21,6 +21,8 @@ #include #include "resource.h" +IDI_CALCICON ICON "calculator.ico" + #include "En.rc" #include "Cz.rc" #include "De.rc" diff --git a/reactos/subsys/system/calc/winecalc.c b/reactos/subsys/system/calc/winecalc.c index 0b7987554a7..5f2b4d64b73 100644 --- a/reactos/subsys/system/calc/winecalc.c +++ b/reactos/subsys/system/calc/winecalc.c @@ -172,7 +172,7 @@ int WINAPI WinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmd wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = hInst; - wc.hIcon = LoadIcon( hInst, appname ); + wc.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_CALCICON)); wc.hCursor = LoadCursor( NULL, IDI_APPLICATION ); wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1); wc.lpszMenuName = NULL;