mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 22:58:14 +02:00
lcl: TCustomForm - handle CM_RELEASE message for compatibility with VCL applications
git-svn-id: trunk@20711 -
This commit is contained in:
parent
7a0a4d2038
commit
b5026985e2
@ -462,6 +462,7 @@ type
|
||||
procedure CMAppShowBtnGlyphChanged(var Message: TLMessage); message CM_APPSHOWBTNGLYPHCHANGED;
|
||||
procedure CMAppShowMenuGlyphChanged(var Message: TLMessage); message CM_APPSHOWMENUGLYPHCHANGED;
|
||||
procedure CMIconChanged(var Message: TLMessage); message CM_ICONCHANGED;
|
||||
procedure CMRelease(var Message: TLMessage); message CM_RELEASE;
|
||||
procedure AddHandler(HandlerType: TFormHandlerType;
|
||||
const Handler: TMethod; AsLast: Boolean);
|
||||
procedure RemoveHandler(HandlerType: TFormHandlerType;
|
||||
|
@ -638,6 +638,11 @@ begin
|
||||
IconChanged(Self);
|
||||
end;
|
||||
|
||||
procedure TCustomForm.CMRelease(var Message: TLMessage);
|
||||
begin
|
||||
Free;
|
||||
end;
|
||||
|
||||
procedure TCustomForm.AddHandler(HandlerType: TFormHandlerType;
|
||||
const Handler: TMethod; AsLast: Boolean);
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user