Author Topic: Problem compìling after r11701 (related to Direct2D)  (Read 16299 times)

Offline tomay3000

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: Problem compìling after r11701 (related to Direct2D)
« Reply #30 on: June 07, 2019, 05:25:34 pm »
Code
#if defined(_MSC_VER) && _MSC_VER >= 1600
    #define wxUSE_GRAPHICS_DIRECT2D wxUSE_GRAPHICS_CONTEXT
#else
    #define wxUSE_GRAPHICS_DIRECT2D wxUSE_GRAPHICS_CONTEXT
#endif

Using this workaround and recompiled wx worked for me.

wxWidgets : 3.1.3 trunk
C::B : 11712 trunk
Mingw-w64 G++ : 9.1.0