In march 2009 i did a D2 port of DWT. It is called DWT2 and available from http://hg.dsource.org/projects/dwt2 But i don't know if it still compiles with a current compiler.