svn path=/trunk/; revision=74976
add_rc_deps(resource.rc ${calc_rc_deps})
add_executable(calc ${SOURCE} resource.rc)
set_module_type(calc win32gui UNICODE)
-add_importlibs(calc advapi32 user32 shell32 gdi32 msvcrt kernel32)
+add_importlibs(calc advapi32 comctl32 user32 shell32 gdi32 msvcrt kernel32)
if(MSVC)
add_importlibs(calc ntdll)
#include <wingdi.h>
#include <winreg.h>
#include <shellapi.h>
+#include <commctrl.h>
#define HTMLHELP_PATH(_pt) TEXT("%systemroot%\\Help\\calc.chm::") TEXT(_pt)
MSG msg;
DWORD dwLayout;
+ InitCommonControls();
+
calc.hInstance = hInstance;
calc.x_coord = -1;