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:
paul 2010-04-19 03:17:58 +00:00
parent de7e3bb122
commit 7068d507da

View File

@ -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;