revert change of revision 9245 #05851e1114

git-svn-id: trunk@9246 -
This commit is contained in:
vincents 2006-05-07 19:29:15 +00:00
parent 05851e1114
commit d20298fe3f

View File

@ -2067,7 +2067,7 @@ Function TWin32WidgetSet.GetWindowLong(Handle: HWND; Int: Integer): PtrInt;
Begin
//TODO:Started but not finished
Assert(False, Format('Trace:> [TWin32WidgetSet.GETWINDOWLONG] HWND: 0x%x, int: 0x%x (%d)', [Handle, int, int]));
{$ifdef win32}
{$ifdef ver2_0}
Result := Windows.GetWindowLong(Handle, int);
{$else}
Result := Windows.GetWindowLongPtr(Handle, int);
@ -3020,7 +3020,7 @@ Function TWin32WidgetSet.SetWindowLong(Handle: HWND; Idx: Integer; NewLong: PtrI
Begin
//TODO: Finish this;
Assert(False, Format('Trace:> [TWin32WidgetSet.SetWindowLong] HWND: 0x%x, Idx: 0x%x(%d), Value: 0x%x(%d)', [Handle, Idx, Idx, NewLong, NewLong]));
{$ifdef win32}
{$ifdef ver2_0}
Result := Windows.SetWindowLong(Handle, Idx, NewLong);
{$else}
Result := Windows.SetWindowLongPtr(Handle, Idx, NewLong);