mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 16:56:03 +02:00
LCL-GTK2: Remove debug output from TGtk2WidgetSet.PeekMessage(). Issue #37521.
git-svn-id: trunk@63704 -
This commit is contained in:
parent
e698ec471b
commit
acc57c654f
@ -6834,13 +6834,11 @@ var
|
||||
vlItem : TGtkMessageQueueItem;
|
||||
begin
|
||||
//TODO Filtering
|
||||
DebugLn('Peek !!!' );
|
||||
fMessageQueue.Lock;
|
||||
try
|
||||
vlItem := fMessageQueue.FirstMessageItem;
|
||||
Result := vlItem <> nil;
|
||||
|
||||
if Result then begin
|
||||
if Result then begin
|
||||
lpMsg := vlItem.Msg^;
|
||||
if (wRemoveMsg and PM_REMOVE) = PM_REMOVE then
|
||||
fMessageQueue.RemoveMessage(vlItem,FPMF_Internal,true);
|
||||
|
Loading…
Reference in New Issue
Block a user