afb/wxd — pull request #1 by AndrejMitrovic (2011-11-22 02:06:24+00:00)
Title: Update samples so they work with 2.050+ compilers

Not all samples have been updated yet. The ones that are should work with DMD 2.050+, but I've only tested with DMD 2.056 on WinXP. Not tested with other compilers.

I've tried to keep compatibility with D1 via `static if`, hopefully I didn't screw something up there. Some examples don't run when executed, I'm not sure why yet.

Really sorry about the diffs, I've inadvertently ran a formatter on the fixes and didn't have a backup handy.