Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/events/SelectionListener.d @ 62:059e3b45add7
Fix copy/paste bug
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 04 Apr 2009 10:39:19 +0200 |
parents | 2e09b0e6857a |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/events/SelectionListener.d Wed Apr 01 13:10:06 2009 +0200 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/events/SelectionListener.d Sat Apr 04 10:39:19 2009 +0200 @@ -82,11 +82,11 @@ version(Tango){ alias ParameterTupleOf!(Dg) DgArgs; - static assert( is(DgArgs == Tuple!(CTabFolderEvent,T)), + static assert( is(DgArgs == Tuple!(SelectionEvent,T)), "Delegate args not correct: "~DgArgs.stringof~" vs. (Event,"~T.stringof~")" ); } else { // Phobos alias ParameterTypeTuple!(Dg) DgArgs; - static assert( is(DgArgs == TypeTuple!(CTabFolderEvent,T)), + static assert( is(DgArgs == TypeTuple!(SelectionEvent,T)), "Delegate args not correct: "~DgArgs.stringof~" vs. (Event,"~T.stringof~")" ); }