diff dynamin/gui/button.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 84beb40c1665
children 73060bc3f004
line wrap: on
line diff
--- a/dynamin/gui/button.d	Sat Feb 06 15:11:57 2010 -0600
+++ b/dynamin/gui/button.d	Sat Feb 06 15:12:52 2010 -0600
@@ -174,7 +174,7 @@
 
 	///
 	this() {
-		clicked.mainHandler = &whenClicked;
+		clicked.setUp(&whenClicked);
 		_focusable = true;
 	}
 	///