Thank you very much Stefan. But now i have compile errors:
{{{
cl /c /nologo /TP /Fovc_mswuddll\coredll_graphicsd2d.obj /MDd
/DWIN32 /Zi /Fd..\..\lib\vc_dll\wxmsw310ud_core_vc.pdb /D_DEBUG /Od
/D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NON_CONFORMING_SWPRINTFS=1
/D_SCL_SECURE_NO_WARNINGS=1 /D__WXMSW__ /D_UNICODE
/I..\..\lib\vc_dll\mswud /I..\..\include /W4 /DWXBUILDING
/I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib
/I..\..\src\regex /I..\..\src\expat\lib /DWXUSINGDLL /DWXMAKINGDLL_CORE
/DwxUSE_BASE=0 /GR /EHsc /Yu"wx/wxprec.h"
/Fp"vc_mswuddll\wxprec_coredll.pch" ..\..\src\msw\graphicsd2d.cpp
graphicsd2d.cpp
..\..\src\msw\graphicsd2d.cpp(1163) : error C2668: 'atan' : ambiguous call
to overloaded function
C:\Program Files\Microsoft Visual Studio
10.0\VC\INCLUDE\math.h(108): could be 'double atan(double)'
C:\Program Files\Microsoft Visual Studio
10.0\VC\INCLUDE\math.h(505): or 'float atan(float)'
C:\Program Files\Microsoft Visual Studio
10.0\VC\INCLUDE\math.h(553): or 'long double atan(long double)'
while trying to match the argument list '(int)'
..\..\src\msw\graphicsd2d.cpp(1557) : warning C4482: nonstandard extension
used: enum 'WICBitmapCreateCacheOption' used in qualified name
..\..\src\msw\graphicsd2d.cpp(2189) : error C2061: syntax error : identifier
'ID2D1Image'
..\..\src\msw\graphicsd2d.cpp(2193) : error C2065: 'offset' : undeclared
identifier
..\..\src\msw\graphicsd2d.cpp(2193) : error C2228: left of '.x' must have
class/struct/union
type is ''unknown-type''
..\..\src\msw\graphicsd2d.cpp(2193) : error C2065: 'offset' : undeclared
identifier
..\..\src\msw\graphicsd2d.cpp(2193) : error C2228: left of '.y' must have
class/struct/union
type is ''unknown-type''
..\..\src\msw\graphicsd2d.cpp(2193) : error C2065: 'offset' : undeclared
identifier
..\..\src\msw\graphicsd2d.cpp(2193) : error C2228: left of '.x' must have
class/struct/union
type is ''unknown-type''
..\..\src\msw\graphicsd2d.cpp(2193) : error C2065: 'imageRectangle' :
undeclared identifier
..\..\src\msw\graphicsd2d.cpp(2193) : error C2228: left of '.right' must
have class/struct/union
type is ''unknown-type''
..\..\src\msw\graphicsd2d.cpp(2193) : error C2065: 'offset' : undeclared
identifier
..\..\src\msw\graphicsd2d.cpp(2193) : error C2228: left of '.y' must have
class/struct/union
type is ''unknown-type''
..\..\src\msw\graphicsd2d.cpp(2193) : error C2065: 'imageRectangle' :
undeclared identifier
..\..\src\msw\graphicsd2d.cpp(2193) : error C2228: left of '.bottom' must
have class/struct/union
type is ''unknown-type''
..\..\src\msw\graphicsd2d.cpp(2195) : error C2065: 'image' : undeclared
identifier
..\..\src\msw\graphicsd2d.cpp(2198) : error C2065: 'interpolationQuality' :
undeclared identifier
..\..\src\msw\graphicsd2d.cpp(2199) : error C2065: 'imageRectangle' :
undeclared identifier
..\..\src\msw\graphicsd2d.cpp(3126) : error C2660:
'wxD2DRenderTargetResourceHolder::DrawBitmap' : function does not take 5
arguments
}}}