Mercurial > projects > dynamin
diff dynamin/gui/notebook.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 | 3cfc83a99cbc |
line wrap: on
line diff
--- a/dynamin/gui/notebook.d Sat Feb 06 15:11:57 2010 -0600 +++ b/dynamin/gui/notebook.d Sat Feb 06 15:12:52 2010 -0600 @@ -114,7 +114,7 @@ Event!(whenSelectionChanged) selectionChanged; this() { - selectionChanged.mainHandler = &whenSelectionChanged; + selectionChanged.setUp(&whenSelectionChanged); _tabPages = new List!(TabPage, true)(&whenTabPagesChanged, &whenTabPagesChanged); _focusable = true;