[COMCTL32]

Fix compilation with MSVC

svn path=/trunk/; revision=51724
This commit is contained in:
Timo Kreuzer 2011-05-14 10:59:35 +00:00
parent 06e9b8f16c
commit 3dd6590770
2 changed files with 17 additions and 2 deletions

View file

@ -247,3 +247,18 @@ Index: rebar.c
return 0;
/* case WM_VKEYTOITEM: supported according to ControlSpy */
Index: monthcal.c
===================================================================
--- monthcal.c (Revision 51719)
+++ monthcal.c (Arbeitskopie)
@@ -143,8 +143,8 @@
/* empty SYSTEMTIME const */
static const SYSTEMTIME st_null;
/* valid date limits */
-static const SYSTEMTIME max_allowed_date = { .wYear = 9999, .wMonth = 12, .wDay = 31 };
-static const SYSTEMTIME min_allowed_date = { .wYear = 1752, .wMonth = 9, .wDay = 14 };
+static const SYSTEMTIME max_allowed_date = { 9999, 12, 0, 31, 0, 0, 0, 0 };
+static const SYSTEMTIME min_allowed_date = { 1752, 9, 0, 14, 0, 0, 0, 0 };
/* Prev/Next buttons */
enum nav_direction

View file

@ -143,8 +143,8 @@ static const WCHAR themeClass[] = { 'S','c','r','o','l','l','b','a','r',0 };
/* empty SYSTEMTIME const */
static const SYSTEMTIME st_null;
/* valid date limits */
static const SYSTEMTIME max_allowed_date = { .wYear = 9999, .wMonth = 12, .wDay = 31 };
static const SYSTEMTIME min_allowed_date = { .wYear = 1752, .wMonth = 9, .wDay = 14 };
static const SYSTEMTIME max_allowed_date = { 9999, 12, 0, 31, 0, 0, 0, 0 };
static const SYSTEMTIME min_allowed_date = { 1752, 9, 0, 14, 0, 0, 0, 0 };
/* Prev/Next buttons */
enum nav_direction