Added a check for the Microsoft Visual Studio version when defining wxUSE_GRAPHICS_DIRECT2D. Only Visual Studio 2008 and higher are supported by default.