mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 07:37:29 +01:00
LCL: debugging
git-svn-id: trunk@26341 -
This commit is contained in:
parent
afab0bd0c4
commit
d130d94e34
@ -1609,6 +1609,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
//debugln(['TControl.WndProc ',DbgSName(Self),' ',TheMessage.Msg]);
|
||||
if TheMessage.Msg=LM_PAINT then begin
|
||||
Include(FControlFlags,cfProcessingWMPaint);
|
||||
try
|
||||
|
||||
@ -5089,6 +5089,7 @@ procedure TWinControl.WndProc(var Message: TLMessage);
|
||||
var
|
||||
Form: TCustomForm;
|
||||
begin
|
||||
//debugln(['TWinControl.WndProc ',DbgSName(Self),' ',Message.Msg]);
|
||||
// Assert(False, Format('Trace:[TWinControl.WndPRoc] %s(%s) --> Message = %d', [ClassName, Name, Message.Msg]));
|
||||
case Message.Msg of
|
||||
LM_SETFOCUS:
|
||||
|
||||
@ -2385,6 +2385,7 @@ begin
|
||||
fMessageQueue.UnLock;
|
||||
end;
|
||||
|
||||
//debugln(['TGtk2WidgetSet.AppProcessMessages ',vlMsg^.Message,' ',LM_CHAR,' ',dbgsname(GetLCLObject(Pointer(vlMsg^.hwnd)))]);
|
||||
// Send message
|
||||
try
|
||||
with vlMsg^ do SendMessage(hWND, Message, WParam, LParam);
|
||||
|
||||
@ -6706,6 +6706,7 @@ var
|
||||
begin
|
||||
Result := True;
|
||||
|
||||
//debugln(['TGtk2WidgetSet.PostMessage ',dbgsname(GetLCLObject(Pointer(Handle)))]);
|
||||
New(AMessage);
|
||||
FillByte(AMessage^,SizeOf(TMsg),0);
|
||||
AMessage^.HWnd := Handle; // this is normally the main gtk widget
|
||||
|
||||
Loading…
Reference in New Issue
Block a user