comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Monitor.d @ 26:f589fc20a5f9

work on linux phobos
author Frank Benoit <benoit@tionex.de>
date Sat, 21 Mar 2009 11:22:55 +0100
parents f713da8bc051
children
comparison
equal deleted inserted replaced
25:f713da8bc051 26:f589fc20a5f9
44 * @param object the object to compare with this object 44 * @param object the object to compare with this object
45 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise 45 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise
46 * 46 *
47 * @see #hashCode() 47 * @see #hashCode()
48 */ 48 */
49 public override int opEquals (Object object) { 49 public override equals_t opEquals (Object object) {
50 if (object is this) return true; 50 if (object is this) return true;
51 if ( auto mon = cast(org.eclipse.swt.widgets.Monitor.Monitor)object ){ 51 if ( auto mon = cast(org.eclipse.swt.widgets.Monitor.Monitor)object ){
52 return handle is mon.handle; 52 return handle is mon.handle;
53 } 53 }
54 return false; 54 return false;