LCL-GTK2: Remove debug output from TGtk2WidgetSet.PeekMessage(). Issue #37521.

git-svn-id: trunk@63704 -
This commit is contained in:
juha 2020-08-09 06:16:08 +00:00
parent e698ec471b
commit acc57c654f

View File

@ -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);