Author Topic: Problem compěling after r11701 (related to Direct2D)  (Read 2650 times)

Offline tomay3000

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: Problem compěling after r11701 (related to Direct2D)
« Reply #30 on: June 07, 2019, 05:25:34 pm »
Code: [Select]
#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