Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Monitor.d @ 36:d46287db17ed
rakefile reorg, swt win phobosification
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 24 Mar 2009 08:48:41 +0100 |
parents | 6dd524f61e62 |
children |
comparison
equal
deleted
inserted
replaced
35:634e4380db78 | 36:d46287db17ed |
---|---|
43 * @param object the object to compare with this object | 43 * @param object the object to compare with this object |
44 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise | 44 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise |
45 * | 45 * |
46 * @see #hashCode() | 46 * @see #hashCode() |
47 */ | 47 */ |
48 public override int opEquals (Object object) { | 48 public override equals_t opEquals (Object object) { |
49 if (object is this) return true; | 49 if (object is this) return true; |
50 if ( auto mon = cast(org.eclipse.swt.widgets.Monitor.Monitor)object ){ | 50 if ( auto mon = cast(org.eclipse.swt.widgets.Monitor.Monitor)object ){ |
51 return handle is mon.handle; | 51 return handle is mon.handle; |
52 } | 52 } |
53 return false; | 53 return false; |