mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 21:11:23 +02:00
* wndproc definition fix
This commit is contained in:
parent
cb57953ff0
commit
121676ec2d
@ -17,9 +17,10 @@ var
|
||||
ThreadWindow: HWND;
|
||||
ThreadCount: Integer;
|
||||
|
||||
function ThreadWndProc(Window: HWND; Message, wParam, lParam: Longint): Longint;stdcall;
|
||||
function ThreadWndProc(Window: HWnd; AMessage:UInt; WParam : WParam; LParam: LParam): Longint; stdcall;
|
||||
|
||||
begin
|
||||
case Message of
|
||||
case AMessage of
|
||||
CM_EXECPROC:
|
||||
with TThread(lParam) do
|
||||
begin
|
||||
@ -41,7 +42,7 @@ begin
|
||||
Result := 0;
|
||||
end;
|
||||
else
|
||||
Result := DefWindowProc(Window, Message, wParam, lParam);
|
||||
Result := DefWindowProc(Window, AMessage, wParam, lParam);
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -211,7 +212,10 @@ begin
|
||||
end;
|
||||
{
|
||||
$Log$
|
||||
Revision 1.6 2002-09-07 15:15:29 peter
|
||||
Revision 1.7 2003-04-23 11:35:30 peter
|
||||
* wndproc definition fix
|
||||
|
||||
Revision 1.6 2002/09/07 15:15:29 peter
|
||||
* old logs removed and tabs fixed
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user