Small fixes for the qt4 interface on mac os x

git-svn-id: trunk@11894 -
This commit is contained in:
sekelsenmat 2007-08-31 21:44:03 +00:00
parent 0d8dc105d4
commit 09e1f9441a
2 changed files with 11 additions and 5 deletions

View File

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

View File

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