diff dynamin/gui/check_box.d @ 78:651082a9b364

Add Event.setUp() and use in place of mainHandler and dispatcher.
author Jordan Miner <jminer7@gmail.com>
date Sat, 06 Feb 2010 15:12:52 -0600
parents 6580fabb7dce
children 73060bc3f004
line wrap: on
line diff
--- a/dynamin/gui/check_box.d	Sat Feb 06 15:11:57 2010 -0600
+++ b/dynamin/gui/check_box.d	Sat Feb 06 15:12:52 2010 -0600
@@ -63,7 +63,7 @@
 	/// This event occurs after .
 	Event!(whenCheckedChanged) checkedChanged;
 	this() {
-		checkedChanged.mainHandler = &whenCheckedChanged;
+		checkedChanged.setUp(&whenCheckedChanged);
 		_focusable = true;
 	}
 	this(string text) {