lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
increase amount of seeding from /dev/urandom
[lcore.git]
/
unitwindowobject.pas
diff --git
a/unitwindowobject.pas
b/unitwindowobject.pas
index 1c0d32d124c5505734d27dc254e89ab323fa33b5..48c356bc28a477847bbbf1f78bb0369f54671aab 100644
(file)
--- a/
unitwindowobject.pas
+++ b/
unitwindowobject.pas
@@
-141,6
+141,7
@@
begin
windows.postmessage(hwndmain,msg,wparam,lparam);
\r
end;
\r
\r
windows.postmessage(hwndmain,msg,wparam,lparam);
\r
end;
\r
\r
+{$ifdef mswindows}
\r
function twindowobjectbase.ProcessMessage : Boolean;
\r
var
\r
MsgRec : TMsg;
\r
function twindowobjectbase.ProcessMessage : Boolean;
\r
var
\r
MsgRec : TMsg;
\r
@@
-157,13
+158,16
@@
procedure twindowobjectbase.processmessages;
begin
\r
while processmessage do;
\r
end;
\r
begin
\r
while processmessage do;
\r
end;
\r
+{$endif}
\r
\r
procedure twindowobjectbase.messageloop;
\r
var
\r
MsgRec : TMsg;
\r
begin
\r
while GetMessage(MsgRec, hwnd(0), 0, 0) do begin
\r
\r
procedure twindowobjectbase.messageloop;
\r
var
\r
MsgRec : TMsg;
\r
begin
\r
while GetMessage(MsgRec, hwnd(0), 0, 0) do begin
\r
+ {$ifdef mswindows}
\r
TranslateMessage(MsgRec);
\r
TranslateMessage(MsgRec);
\r
+ {$endif}
\r
DispatchMessage(MsgRec);
\r
if exitloopflag then exit;
\r
{if not peekmessage(msgrec,0,0,0,PM_NOREMOVE) then onidle}
\r
DispatchMessage(MsgRec);
\r
if exitloopflag then exit;
\r
{if not peekmessage(msgrec,0,0,0,PM_NOREMOVE) then onidle}
\r