For the official release of wx, such as 3.1.4, I have a file wxWidgets-3.1.4\include\wx\msw\setup.h
Then I can modify this file so that:
#define wxUSE_GRAPHICS_DIRECT2D 1
So, I use the command:
mingw32-make -j4 -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-Wno-unused-local-typedefs -Wno-deprecated-declarations -fno-keep-inline-dllexport" >log-release.txt 2>&1
But when I clone the official wx git, I don't see the file: wxWidgets-git\include\wx\msw\setup.h
I only see a file: wxWidgets-git\include\wx\msw\setup0.h
Which contains the line:
#define wxUSE_GRAPHICS_DIRECT2D 0
So, what is the correct way to build the wxwidgets git with direct2d enabled? Do I need to modify this setup0.h? And then run the command:
mingw32-make -j4 -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-Wno-unused-local-typedefs -Wno-deprecated-declarations -fno-keep-inline-dllexport" >log-release.txt 2>&1
Is there any suggested way?
Thanks.