hook windowproc for Calendar Control, fixes memlead and issue #980

git-svn-id: trunk@7835 -
This commit is contained in:
vincents 2005-09-26 11:45:59 +00:00
parent d2928d98c7
commit 49c2b27945

View File

@ -76,7 +76,7 @@ begin
pClassName := 'SysMonthCal32';
WindowTitle := StrCaption;
Flags := WS_CHILD or WS_VISIBLE;
SubClassWndProc := nil;
SubClassWndProc := @WindowProc;
end;
// create window
FinishCreateWindow(AWinControl, Params, false);