Implemented resource holders, managed objects and a direct2d resource manager to better handle the native direct2d resources. Converted all raw pointers to direct2d resources to CComPtr smart pointers to avoid memory leaks. Removed SafeRelease methods for releasing native direct2d resources.
Removed unused DeviceDependentResourceHolder interface
Fixed a compilation bug
Fixed warnings related to unused parameters
Fixed warnings related to unreferenced local variables
Fixed warnings related to signed / unsigned comparisons
Fixed warnings related to illegal conversions
Renamed non conforming functions and classes to have the 'wx' prefix
Removed unused render target type member from wxD2DContext
Fixed non conforming whitespace
Added missing wxOVERRIDE to a wxD2DRenderer method
Replaced tabs with spaces
Implemented wxD2DRenderer::CreateMeasuringContext