cleanup: move default handling to DefaultHandler

git-svn-id: trunk@5671 -
This commit is contained in:
micha 2004-07-12 13:04:15 +00:00
parent 20ed3818a2
commit efede3cc06
2 changed files with 12 additions and 1 deletions

View File

@ -547,8 +547,8 @@ Begin
End;
WM_GETDLGCODE:
Begin
// let windows set default flags, then user can override them
LMessage.Msg := LM_GETDLGCODE;
WinProcess := false;
End;
WM_KEYDOWN:
Begin
@ -1276,6 +1276,9 @@ end;
{
$Log$
Revision 1.127 2004/07/12 13:04:14 micha
cleanup: move default handling to DefaultHandler
Revision 1.126 2004/07/07 08:15:28 micha
fix not listening to Key := #0 in WM_CHAR message

View File

@ -291,6 +291,11 @@ begin
// provide default wheel scrolling functionality
CallMouseWheelHandler;
end;
LM_GETDLGCODE:
begin
TLMessage(Message).Result := CallDefaultWindowProc(Handle, WM_GETDLGCODE, 0, 0);
end;
end;
end;
@ -3008,6 +3013,9 @@ end;
{ =============================================================================
$Log$
Revision 1.125 2004/07/12 13:04:15 micha
cleanup: move default handling to DefaultHandler
Revision 1.124 2004/07/02 20:28:18 micha
draw 1-pixel border using inner flag, outer seems to not draw top-left