diff dynamin/gui/check_box.d @ 8:b621b528823d

whenXX methods have to come before the event if switched to template mixins.
author Jordan Miner <jminer7@gmail.com>
date Wed, 15 Jul 2009 14:04:55 -0500
parents aa4efef0f0b1
children ccc108b25a0a
line wrap: on
line diff
--- a/dynamin/gui/check_box.d	Wed Jul 15 13:59:16 2009 -0500
+++ b/dynamin/gui/check_box.d	Wed Jul 15 14:04:55 2009 -0500
@@ -58,10 +58,10 @@
 	}
 
 public:
+	/// Override this method in a subclass to handle the SelectedChanged event.
+	protected void whenCheckedChanged(EventArgs e) { }
 	/// This event occurs after .
 	Event!() checkedChanged;
-	/// Override this method in a subclass to handle the SelectedChanged event.
-	protected void whenCheckedChanged(EventArgs e) { }
 	this() {
 		checkedChanged = new Event!()(&whenCheckedChanged);
 		_focusable = true;