mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 16:19:13 +02:00
Win32: Return cpDate in TWin32WSCustomCalendar.HitTest when user clicks on "Today". Issue #0029895.
git-svn-id: trunk@52055 -
This commit is contained in:
parent
fce82bdea5
commit
db7cf0af86
@ -150,7 +150,8 @@ begin
|
|||||||
case HitPart of
|
case HitPart of
|
||||||
MCHT_CALENDARDATE,
|
MCHT_CALENDARDATE,
|
||||||
MCHT_CALENDARDATENEXT,
|
MCHT_CALENDARDATENEXT,
|
||||||
MCHT_CALENDARDATEPREV: Result := cpDate;
|
MCHT_CALENDARDATEPREV,
|
||||||
|
MCHT_TODAYLINK: Result := cpDate;
|
||||||
MCHT_CALENDARWEEKNUM : Result := cpWeekNumber;
|
MCHT_CALENDARWEEKNUM : Result := cpWeekNumber;
|
||||||
MCHT_TITLEBK: Result := cpTitle;
|
MCHT_TITLEBK: Result := cpTitle;
|
||||||
MCHT_TITLEMONTH: Result := cpTitleMonth;
|
MCHT_TITLEMONTH: Result := cpTitleMonth;
|
||||||
|
Loading…
Reference in New Issue
Block a user