mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 04:40:40 +01:00
win32: don't explicitly set WS_VISIBLE WS_CHILD for calendar since PrepareCreateWindow do this
git-svn-id: trunk@24709 -
This commit is contained in:
parent
de7e3bb122
commit
7068d507da
@ -76,7 +76,6 @@ begin
|
||||
begin
|
||||
pClassName := 'SysMonthCal32';
|
||||
WindowTitle := StrCaption;
|
||||
Flags := WS_CHILD or WS_VISIBLE;
|
||||
if dsShowWeekNumbers in TCustomCalendar(AWinControl).DisplaySettings then
|
||||
Flags := Flags or MCS_WEEKNUMBERS;
|
||||
SubClassWndProc := @WindowProc;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user