Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/graphics/Cursor.d @ 36:d46287db17ed
rakefile reorg, swt win phobosification
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 24 Mar 2009 08:48:41 +0100 |
parents | 6bf2837c50fe |
children | 63aa48e5430f |
comparison
equal
deleted
inserted
replaced
35:634e4380db78 | 36:d46287db17ed |
---|---|
403 * @param object the object to compare with this object | 403 * @param object the object to compare with this object |
404 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise | 404 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise |
405 * | 405 * |
406 * @see #hashCode | 406 * @see #hashCode |
407 */ | 407 */ |
408 public override int opEquals (Object object) { | 408 public override equals_t opEquals (Object object) { |
409 if (object is this) return true; | 409 if (object is this) return true; |
410 if (!(cast(Cursor)object)) return false; | 410 if (!(cast(Cursor)object)) return false; |
411 Cursor cursor = cast(Cursor) object; | 411 Cursor cursor = cast(Cursor) object; |
412 return device is cursor.device && handle is cursor.handle; | 412 return device is cursor.device && handle is cursor.handle; |
413 } | 413 } |