Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
3408e9cf
Commit
3408e9cf
authored
23 years ago
by
Francois Gouget
Committed by
Alexandre Julliard
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Some 'calendar' typos...
parent
f8142d3f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/comctl32/datetime.c
+7
-6
7 additions, 6 deletions
dlls/comctl32/datetime.c
with
7 additions
and
6 deletions
dlls/comctl32/datetime.c
+
7
−
6
View file @
3408e9cf
...
...
@@ -653,10 +653,11 @@ DATETIME_ResetFieldDown (DATETIME_INFO *infoPtr, int number)
break
;
case
ONEDIGITYEAR
:
case
TWODIGITYEAR
:
/* FYI: On 9/14/1752 the calender changed and England and the American */
/* colonies changed to the Gregorian calender. This change involved */
/* having September 14th following September 2nd. So no date algorithms */
/* work before that date. */
/* FYI: On 1752/9/14 the calendar changed and England and the
* American colonies changed to the Gregorian calendar. This change
* involved having September 14th follow September 2nd. So no date
* algorithm works before that date.
*/
case
FULLYEAR
:
date
->
wSecond
=
0
;
date
->
wMinute
=
0
;
...
...
@@ -846,7 +847,7 @@ DATETIME_LButtonDown (HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
infoPtr
->
select
==
DTHT_MCPOPUP
)
{
/* FIXME: button actually is only depressed during dropdown of the */
/* calend
e
r control and when the mouse is over the button window */
/* calend
a
r control and when the mouse is over the button window */
infoPtr
->
bCalDepressed
=
TRUE
;
/* recalculate the position of the monthcal popup */
...
...
@@ -1091,7 +1092,7 @@ DATETIME_Size (HWND hwnd, WPARAM wParam, LPARAM lParam)
DrawEdge
((
HDC
)
NULL
,
&
(
infoPtr
->
rcDraw
),
EDGE_SUNKEN
,
BF_RECT
|
BF_ADJUST
);
/* set the size of the button that drops the calend
e
r down */
/* set the size of the button that drops the calend
a
r down */
/* FIXME: account for style that allows button on left side */
infoPtr
->
calbutton
.
top
=
infoPtr
->
rcDraw
.
top
;
infoPtr
->
calbutton
.
bottom
=
infoPtr
->
rcDraw
.
bottom
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment