mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 12:48:17 +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
|
||||
MCHT_CALENDARDATE,
|
||||
MCHT_CALENDARDATENEXT,
|
||||
MCHT_CALENDARDATEPREV: Result := cpDate;
|
||||
MCHT_CALENDARDATEPREV,
|
||||
MCHT_TODAYLINK: Result := cpDate;
|
||||
MCHT_CALENDARWEEKNUM : Result := cpWeekNumber;
|
||||
MCHT_TITLEBK: Result := cpTitle;
|
||||
MCHT_TITLEMONTH: Result := cpTitleMonth;
|
||||
|
Loading…
Reference in New Issue
Block a user