mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 05:20:59 +02:00
Small fixes for the qt4 interface on mac os x
git-svn-id: trunk@11894 -
This commit is contained in:
parent
0d8dc105d4
commit
09e1f9441a
@ -1174,7 +1174,9 @@ var
|
||||
H: Integer;
|
||||
begin
|
||||
{$ifdef VerboseQt}
|
||||
WriteLn('TQtDeviceContext.Create ( WidgetHandle: ', dbghex(AWidget), ' FromPaintEvent:',BoolToStr(APaintEvent),' )');
|
||||
WriteLn('TQtDeviceContext.Create (',
|
||||
' WidgetHandle: ', dbghex(PtrInt(AWidget)),
|
||||
' FromPaintEvent:',BoolToStr(APaintEvent),' )');
|
||||
{$endif}
|
||||
|
||||
{NOTE FOR QT DEVELOPERS: Whenever you call TQtDeviceContext.Create() outside
|
||||
|
@ -824,8 +824,12 @@ type
|
||||
end;
|
||||
|
||||
var
|
||||
{$IFDEF DARWIN}
|
||||
LastMouse: TLastMouseInfo = (Widget: nil; MousePos: (y:0; x:0); TheTime:0; ClickCount: 0);
|
||||
{$ELSE}
|
||||
LastMouse: TLastMouseInfo = (Widget: nil; MousePos: (x:0; y:0); TheTime:0; ClickCount: 0);
|
||||
|
||||
{$ENDIF}
|
||||
|
||||
{ TQtWidget }
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
@ -988,11 +992,11 @@ begin
|
||||
QEventDragLeave: result:='QEventDragLeave';
|
||||
QEventDrop: result:='QEventDrop';
|
||||
QEventDragResponse: result:='QEventDragResponse';
|
||||
QEventChildInsertedRequest: result:='(Qt3) QEventChildAdded'; //qt3
|
||||
// QEventChildInsertedRequest: result:='(Qt3) QEventChildAdded'; //qt3
|
||||
QEventChildAdded: result:='QEventChildAdded';
|
||||
QEventChildPolished: result:='QEventChildPolished';
|
||||
QEventChildInserted: result:='(Qt3) QEventChildAdded'; // qt3
|
||||
QEventLayoutHint: result:='(Qt3) QEventChildAdded'; // qt3
|
||||
// QEventChildInserted: result:='(Qt3) QEventChildAdded'; // qt3
|
||||
// QEventLayoutHint: result:='(Qt3) QEventChildAdded'; // qt3
|
||||
QEventChildRemoved: result:='QEventChildRemoved';
|
||||
QEventShowWindowRequest: result:='QEventShowWindowRequest';
|
||||
QEventPolishRequest: result:='QEventPolishRequest';
|
||||
|
Loading…
Reference in New Issue
Block a user