Mercurial > projects > dynamin
changeset 9:682fa50ab831
Fix stupid mistake in last commit.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Wed, 15 Jul 2009 14:07:36 -0500 |
parents | b621b528823d |
children | ccc108b25a0a |
files | dynamin/gui/notebook.d |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dynamin/gui/notebook.d Wed Jul 15 14:04:55 2009 -0500 +++ b/dynamin/gui/notebook.d Wed Jul 15 14:07:36 2009 -0500 @@ -101,8 +101,6 @@ public: /// Override this method in a subclass to handle the SelectionChanged event. protected void whenSelectionChanged(EventArgs e) { - /// This event occurs after a different tab is selected. - Event!() selectionChanged; if(_content !is null) _children.remove(_content); _content = null; @@ -112,6 +110,8 @@ } layout(); } + /// This event occurs after a different tab is selected. + Event!() selectionChanged; this() { selectionChanged = new Event!()(&whenSelectionChanged);