Mercurial > projects > dynamin
diff dynamin/gui/notebook.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 | 4029d5af7542 |
children | 682fa50ab831 |
line wrap: on
line diff
--- a/dynamin/gui/notebook.d Wed Jul 15 13:59:16 2009 -0500 +++ b/dynamin/gui/notebook.d Wed Jul 15 14:04:55 2009 -0500 @@ -99,10 +99,10 @@ layout(); } 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; - /// Override this method in a subclass to handle the SelectionChanged event. - protected void whenSelectionChanged(EventArgs e) { if(_content !is null) _children.remove(_content); _content = null;